Add location info in UserOtherSessions

This commit is contained in:
Alfonso Grillo
2022-11-02 17:59:50 +01:00
parent e6e7e7c5d4
commit d688600156
4 changed files with 10 additions and 6 deletions
@@ -70,6 +70,9 @@ class UserOtherSessionsViewModel: UserOtherSessionsViewModelType, UserOtherSessi
selectedSessions.contains(sessionInfo.id)
}
completion?(.logoutFromUserSessions(sessionInfos: selectedSessionInfos))
case .showLocationInfo:
RiotSettings.shared.showIPAddressesInSessionsManager.toggle()
state.showLocationInfo = RiotSettings.shared.showIPAddressesInSessionsManager
}
}