teacup 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/teacup/style.rb CHANGED
@@ -34,7 +34,7 @@ module Teacup
34
34
  properties.stylesheet = self.stylesheet
35
35
 
36
36
  # at this point, we really DO need the orientation
37
- orientation = UIDevice.currentDevice.orientation unless orientation
37
+ orientation = UIApplication.sharedApplication.statusBarOrientation unless orientation
38
38
 
39
39
  # first, move orientation settings into properties "base" level.
40
40
  if orientation
@@ -1,5 +1,5 @@
1
1
  module Teacup
2
2
 
3
- VERSION = '0.3.5'
3
+ VERSION = '0.3.6'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teacup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: