Handle remove users/servers

This commit is contained in:
Damontecres 2025-10-06 23:58:39 -04:00
parent 864fc5b9dd
commit ffc704bdce
No known key found for this signature in database
9 changed files with 294 additions and 94 deletions

View file

@ -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,