mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -16,11 +16,18 @@ class UserSessionStore: UserSessionStoreProtocol {
|
||||
private let appHooks: AppHooks
|
||||
|
||||
/// Whether or not there are sessions in the store.
|
||||
var hasSessions: Bool { !keychainController.restorationTokens().isEmpty }
|
||||
var hasSessions: Bool {
|
||||
!keychainController.restorationTokens().isEmpty
|
||||
}
|
||||
|
||||
/// All the user IDs managed by the store.
|
||||
var userIDs: [String] { keychainController.restorationTokens().map(\.userID) }
|
||||
var userIDs: [String] {
|
||||
keychainController.restorationTokens().map(\.userID)
|
||||
}
|
||||
|
||||
var clientSessionDelegate: ClientSessionDelegate { keychainController }
|
||||
var clientSessionDelegate: ClientSessionDelegate {
|
||||
keychainController
|
||||
}
|
||||
|
||||
init(keychainController: KeychainControllerProtocol,
|
||||
appSettings: AppSettings,
|
||||
|
||||
Reference in New Issue
Block a user