lib/teacup/style.rb in teacup-0.3.5 vs lib/teacup/style.rb in teacup-0.3.6

- old
+ new

@@ -32,10 +32,10 @@ properties = Style.new.update(self) properties.stylename = self.stylename properties.stylesheet = self.stylesheet # at this point, we really DO need the orientation - orientation = UIDevice.currentDevice.orientation unless orientation + orientation = UIApplication.sharedApplication.statusBarOrientation unless orientation # first, move orientation settings into properties "base" level. if orientation Overrides[orientation].each do |orientation_key| if override = properties.delete(orientation_key)