Skip to content

Commit

Permalink
update: disable dark mode for demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
mejiagarcia committed Aug 22, 2022
1 parent 70e355a commit d3ea022
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion TwilioVerifySNADemo/Configuration/AppDelegate.swift
Expand Up @@ -9,6 +9,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
true

if #available(iOS 13.0, *) {
window?.overrideUserInterfaceStyle = .light
}

return true
}
}
2 changes: 2 additions & 0 deletions TwilioVerifySNADemo/Configuration/Info.plist
Expand Up @@ -14,5 +14,7 @@
<string>Inter-SemiBold.ttf</string>
<string>Inter-Thin.ttf</string>
</array>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
</dict>
</plist>

0 comments on commit d3ea022

Please sign in to comment.