mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Handle remove users/servers
This commit is contained in:
parent
864fc5b9dd
commit
ffc704bdce
9 changed files with 294 additions and 94 deletions
|
|
@ -72,7 +72,7 @@ class MainActivity : AppCompatActivity() {
|
|||
val appPreferences by userPreferencesDataStore.data.collectAsState(null)
|
||||
appPreferences?.let { appPreferences ->
|
||||
LaunchedEffect(Unit) {
|
||||
if (appPreferences.currentServerId.isNotBlank() && appPreferences.currentUserId.isNotBlank()) {
|
||||
if (appPreferences.currentServerId.isNotBlank()) {
|
||||
serverRepository.restoreSession(
|
||||
appPreferences.currentServerId,
|
||||
appPreferences.currentUserId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue