From 0afed06cc39671c3961d8d9be42104bafd221283 Mon Sep 17 00:00:00 2001 From: daifengyi Date: Tue, 23 May 2023 22:11:37 +0800 Subject: [PATCH] feat:recover config --- HDFwear/AppDelegate.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/HDFwear/AppDelegate.swift b/HDFwear/AppDelegate.swift index 3e9004b..8e00126 100644 --- a/HDFwear/AppDelegate.swift +++ b/HDFwear/AppDelegate.swift @@ -31,13 +31,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate { object_setClass(Foundation.Bundle.main, HDFBundle.self) -// if AdminHelper.shared.isFirstLaunch() { + if AdminHelper.shared.isFirstLaunch() { window?.rootViewController = LaunchViewController() window?.makeKeyAndVisible() -// } else { -// window?.rootViewController = ZCTabBarController() -// window?.makeKeyAndVisible() -// } + } else { + window?.rootViewController = ZCTabBarController() + window?.makeKeyAndVisible() + } initSDK() return true -- libgit2 0.21.4