зеркало из https://github.com/nextcloud/ios.git
Version 6.1.6 (#3185)
This commit is contained in:
Родитель
6656230705
Коммит
84f7922766
|
@ -110,8 +110,14 @@ class NCIntroViewController: UIViewController, UICollectionViewDataSource, UICol
|
|||
controller.account = account
|
||||
controller.modalPresentationStyle = .fullScreen
|
||||
controller.view.alpha = 0
|
||||
|
||||
window?.rootViewController = controller
|
||||
window?.makeKeyAndVisible()
|
||||
|
||||
if let scene = window?.windowScene {
|
||||
SceneManager.shared.register(scene: scene, withRootViewController: controller)
|
||||
}
|
||||
|
||||
UIView.animate(withDuration: 0.5) {
|
||||
controller.view.alpha = 1
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ class FileProviderEnumerator: NSObject, NSFileProviderEnumerator {
|
|||
serverUrl = NCUtilityFileSystem().getHomeServer(session: fileProviderData.shared.session)
|
||||
} else {
|
||||
if let metadata = providerUtility.getTableMetadataFromItemIdentifier(enumeratedItemIdentifier),
|
||||
let directorySource = self.database.getTableDirectory(predicate: NSPredicate(format: "account == %@ AND serverUrl == %@ AND NOT (status IN %@)", metadata.account, metadata.serverUrl, NCGlobal.shared.metadataStatusHideInFileExtension)) {
|
||||
let directorySource = self.database.getTableDirectory(predicate: NSPredicate(format: "account == %@ AND serverUrl == %@", metadata.account, metadata.serverUrl)) {
|
||||
serverUrl = directorySource.serverUrl + "/" + metadata.fileName
|
||||
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ class FileProviderEnumerator: NSObject, NSFileProviderEnumerator {
|
|||
}
|
||||
|
||||
func fetchItemsForPage(serverUrl: String, pageNumber: Int, completionHandler: @escaping (_ metadatas: Results<tableMetadata>?) -> Void) {
|
||||
let predicate = NSPredicate(format: "account == %@ AND serverUrl == %@ AND NOT (status IN %@)", fileProviderData.shared.session.account, serverUrl, NCGlobal.shared.metadataStatusHideInFileExtension)
|
||||
let predicate = NSPredicate(format: "account == %@ AND serverUrl == %@", fileProviderData.shared.session.account, serverUrl)
|
||||
|
||||
if pageNumber == 1 {
|
||||
NextcloudKit.shared.readFileOrFolder(serverUrlFileName: serverUrl, depth: "1", showHiddenFiles: NCKeychain().showHiddenFiles, account: fileProviderData.shared.session.account) { _, files, _, error in
|
||||
|
|
|
@ -5501,7 +5501,7 @@
|
|||
"@executable_path/Frameworks",
|
||||
"@executable_path/../../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 6.1.5;
|
||||
MARKETING_VERSION = 6.1.6;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "-v";
|
||||
OTHER_LDFLAGS = "";
|
||||
|
@ -5564,7 +5564,7 @@
|
|||
"@executable_path/Frameworks",
|
||||
"@executable_path/../../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 6.1.5;
|
||||
MARKETING_VERSION = 6.1.6;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "-v";
|
||||
OTHER_LDFLAGS = "";
|
||||
|
|
|
@ -308,7 +308,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|||
|
||||
// MARK: - Login
|
||||
|
||||
func openLogin(selector: Int) {
|
||||
func openLogin(selector: Int, window: UIWindow? = nil) {
|
||||
UIApplication.shared.allSceneSessionDestructionExceptFirst()
|
||||
|
||||
func showLoginViewController(_ viewController: UIViewController?) {
|
||||
|
@ -329,6 +329,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|||
} else {
|
||||
controller.present(navigationController, animated: true)
|
||||
}
|
||||
} else {
|
||||
window?.rootViewController = navigationController
|
||||
window?.makeKeyAndVisible()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -428,8 +428,14 @@ class NCLogin: UIViewController, UITextFieldDelegate, NCLoginQRCodeDelegate {
|
|||
controller.account = account
|
||||
controller.modalPresentationStyle = .fullScreen
|
||||
controller.view.alpha = 0
|
||||
|
||||
window?.rootViewController = controller
|
||||
window?.makeKeyAndVisible()
|
||||
|
||||
if let scene = window?.windowScene {
|
||||
SceneManager.shared.register(scene: scene, withRootViewController: controller)
|
||||
}
|
||||
|
||||
UIView.animate(withDuration: 0.5) {
|
||||
controller.view.alpha = 1
|
||||
}
|
||||
|
|
|
@ -75,8 +75,14 @@ struct NCLoginPoll: View {
|
|||
controller.account = loginManager.account
|
||||
controller.modalPresentationStyle = .fullScreen
|
||||
controller.view.alpha = 0
|
||||
|
||||
window?.rootViewController = controller
|
||||
window?.makeKeyAndVisible()
|
||||
|
||||
if let scene = window?.windowScene {
|
||||
SceneManager.shared.register(scene: scene, withRootViewController: controller)
|
||||
}
|
||||
|
||||
UIView.animate(withDuration: 0.5) {
|
||||
controller.view.alpha = 1
|
||||
}
|
||||
|
|
|
@ -181,8 +181,14 @@ extension NCLoginProvider: WKNavigationDelegate {
|
|||
controller.account = account
|
||||
controller.modalPresentationStyle = .fullScreen
|
||||
controller.view.alpha = 0
|
||||
|
||||
window?.rootViewController = controller
|
||||
window?.makeKeyAndVisible()
|
||||
|
||||
if let scene = window?.windowScene {
|
||||
SceneManager.shared.register(scene: scene, withRootViewController: controller)
|
||||
}
|
||||
|
||||
UIView.animate(withDuration: 0.5) {
|
||||
controller.view.alpha = 1
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
|||
UserDefaults.standard.removePersistentDomain(forName: bundleID)
|
||||
}
|
||||
if NCBrandOptions.shared.disable_intro {
|
||||
appDelegate.openLogin(selector: NCGlobal.shared.introLogin)
|
||||
appDelegate.openLogin(selector: NCGlobal.shared.introLogin, window: window)
|
||||
} else {
|
||||
if let viewController = UIStoryboard(name: "NCIntro", bundle: nil).instantiateInitialViewController() as? NCIntroViewController {
|
||||
let navigationController = NCLoginNavigationController(rootViewController: viewController)
|
||||
|
|
Двоичные данные
iOSClient/Supporting Files/it.lproj/Localizable.strings
Двоичные данные
iOSClient/Supporting Files/it.lproj/Localizable.strings
Двоичный файл не отображается.
Двоичные данные
iOSClient/Supporting Files/zh-Hans.lproj/Localizable.strings
Двоичные данные
iOSClient/Supporting Files/zh-Hans.lproj/Localizable.strings
Двоичный файл не отображается.
Загрузка…
Ссылка в новой задаче