mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
don't keep re-prompting the user to migrate if they get spontaneously logged out. (#5844)
This commit is contained in:
@@ -293,6 +293,12 @@ final nonisolated class AppSettings: @unchecked Sendable {
|
||||
@UserPreference(defaultValue: AnalyticsConsentState.unknown)
|
||||
var analyticsConsentState: AnalyticsConsentState
|
||||
|
||||
/// Whether a user session has ever been set up on this device. Deliberately not cleared on
|
||||
/// logout: it stops the Classic app migration prompt from reappearing when an Element X
|
||||
/// user is signed out unexpectedly (invalidated token, corrupted storage, etc).
|
||||
@UserPreference(defaultValue: false)
|
||||
var hasSignedInBefore: Bool
|
||||
|
||||
@UserPreference(defaultValue: false)
|
||||
var hasRunNotificationPermissionsOnboarding: Bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user