mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Made user session store base directory lazy, logging it for easier de… (#197)
* Made user session store base directory lazy, logging it for easier debugging * Make baseDirectory private set, expose it instead of the baseDirectoryPath.
This commit is contained in:
@@ -30,7 +30,7 @@ protocol UserSessionStoreProtocol {
|
||||
var hasSessions: Bool { get }
|
||||
|
||||
/// Returns the location to store user data for a particular username.
|
||||
var baseDirectoryPath: String { get }
|
||||
var baseDirectory: URL { get }
|
||||
|
||||
/// Restores an existing user session.
|
||||
func restoreUserSession() async -> Result<UserSession, UserSessionStoreError>
|
||||
|
||||
Reference in New Issue
Block a user