@applicaster/quick-brick-native-apple 5.20.8 → 5.20.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "QuickBrickApple",
3
- "version": "5.20.8",
3
+ "version": "5.20.9",
4
4
  "platforms": {
5
5
  "ios": "14.0",
6
6
  "tvos": "14.0"
@@ -16,7 +16,7 @@
16
16
  "authors": "Applicaster LTD.",
17
17
  "source": {
18
18
  "git": "https://github.com/applicaster/Zapp-Frameworks.git",
19
- "tag": "@@applicaster/quick-brick-native-apple/5.20.8"
19
+ "tag": "@@applicaster/quick-brick-native-apple/5.20.9"
20
20
  },
21
21
  "requires_arc": true,
22
22
  "source_files": "universal/**/*.{m,swift}",
@@ -176,14 +176,14 @@ class QuickBrickViewController: UIViewController, UILayerViewControllerProtocol
176
176
  }
177
177
 
178
178
  if orientationMask == .landscapeRight {
179
- setDeviceOrientation(UIDeviceOrientation.landscapeLeft)
179
+ setDeviceOrientation(.landscapeLeft)
180
180
  } else if orientationMask == .landscapeLeft {
181
- setDeviceOrientation(UIDeviceOrientation.landscapeRight)
181
+ setDeviceOrientation(.landscapeRight)
182
182
  } else if orientationMask == .landscape {
183
183
  if currentDeviceOrientation == .landscapeLeft || currentDeviceOrientation == .landscapeRight {
184
184
  setDeviceOrientation(currentDeviceOrientation)
185
185
  } else {
186
- setDeviceOrientation(UIDeviceOrientation.landscapeRight)
186
+ setDeviceOrientation(.landscapeLeft)
187
187
  }
188
188
 
189
189
  } else if orientationMask == .portrait {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-native-apple",
3
- "version": "5.20.8",
3
+ "version": "5.20.9",
4
4
  "description": "iOS and tvOS native code for QuickBrick applications. This package is used to provide native logic for QuickBrick",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"