mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Add show/hide ip persistency
This commit is contained in:
@@ -78,6 +78,10 @@ class UserSessionsOverviewViewModel: UserSessionsOverviewViewModelType, UserSess
|
||||
completion?(.linkDevice)
|
||||
case .logoutOtherSessions:
|
||||
completion?(.logoutFromUserSessions(sessionInfos: userSessionsOverviewService.otherSessions))
|
||||
case .showLocationInfo:
|
||||
let newShowLocationInfo = !RiotSettings.shared.showIPAddressesInSessionsManager
|
||||
RiotSettings.shared.showIPAddressesInSessionsManager = newShowLocationInfo
|
||||
state.showLocationInfo = newShowLocationInfo
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user