Skip to content

Commit f504bd4

Browse files
committed
fix broken swift sample
Change-Id: I40f6ac70a39f17c81de7108b4df4e95056c0c915
1 parent 8c4c663 commit f504bd4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

samples/swift/FirebaseUI-demo-swift/FUIAppDelegate.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
2929
// Successfully running this sample requires an app in Firebase and an
3030
// accompanying valid GoogleService-Info.plist file.
3131
FirebaseApp.configure()
32-
Twitter.sharedInstance().start(withConsumerKey: "", consumerSecret: "");
32+
Twitter.sharedInstance().start(withConsumerKey: "consumer-key",
33+
consumerSecret: "consumer-secret");
3334
GTMSessionFetcher.setLoggingEnabled(true)
3435
return true
3536
}

samples/swift/FirebaseUI-demo-swift/Samples/Auth/FUICustomAuthUIDelegate.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class FUICustomAuthDelegate: NSObject, FUIAuthDelegate {
3030
print("Login error: \(error.localizedDescription)")
3131
case .none:
3232
return
33+
}
3334
}
3435

3536
func authPickerViewController(forAuthUI authUI: FUIAuth) -> FUIAuthPickerViewController {

0 commit comments

Comments
 (0)