Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Resolve warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Schwarz committed Jun 16, 2021
1 parent 405a503 commit dcaf913
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion ChatApp/.swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ opt_in_rules:
- fatal_error_message
- first_where
- toggle_bool
- unused_private_declaration
- modifier_order
- contains_over_first_not_nil
- convenience_type
Expand Down
2 changes: 1 addition & 1 deletion ChatApp/ChatApp/Managers/FirebaseAuthentication.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extension FirebaseAuthentication {
fatalError("Unable to create login UI")
}
authUI.delegate = self
authUI.providers = [FUIGoogleAuth(), FUIEmailAuth()]
authUI.providers = [FUIGoogleAuth(authUI: authUI), FUIEmailAuth()]
return authUI.authViewController()
}
}
Expand Down
4 changes: 2 additions & 2 deletions ChatCore/Utils/Network/ReachabilityObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ private extension ReachabilityObserver {
do {
reachability = try Reachability()

reachability?.whenReachable = { [weak self] reachability in
reachability?.whenReachable = { [weak self] _ in
self?.reachabilityChanged(.reachable)
}

reachability?.whenUnreachable = { [weak self] reachability in
reachability?.whenUnreachable = { [weak self] _ in
self?.reachabilityChanged(.unreachable)
}

Expand Down

0 comments on commit dcaf913

Please sign in to comment.