Various Improvements

This commit is contained in:
Ilya Laktyushin
2021-03-20 16:13:57 +05:00
parent cd6af7d537
commit 498dd0bbec
43 changed files with 792 additions and 231 deletions

View File

@@ -662,6 +662,10 @@ final class SharedApplicationContext {
} else {
completion(false)
}
}, forceOrientation: { orientation in
let value = orientation.rawValue
UIDevice.current.setValue(value, forKey: "orientation")
UINavigationController.attemptRotationToDeviceOrientation()
})
let accountManagerSignal = Signal<AccountManager, NoError> { subscriber in