feat(creator): 현재 라이브 섹션을 연결한다
This commit is contained in:
@@ -86,6 +86,8 @@ struct SplashView: View {
|
||||
}
|
||||
|
||||
private func fetchLastestVersion() {
|
||||
guard !isRunningForPreviews else { return }
|
||||
|
||||
let remoteConfig = RemoteConfig.remoteConfig()
|
||||
let configSettings = RemoteConfigSettings()
|
||||
configSettings.minimumFetchInterval = 60
|
||||
@@ -163,6 +165,10 @@ struct SplashView: View {
|
||||
nextAppStep()
|
||||
}
|
||||
}
|
||||
|
||||
private var isRunningForPreviews: Bool {
|
||||
ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
|
||||
Reference in New Issue
Block a user