Skip to content

Commit 3fc139a

Browse files
authored
Remove incorrect check for empty accounts. (#357)
1 parent 464143b commit 3fc139a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/src/controller/controller.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,7 @@ class AppController with ChangeNotifier {
607607
// Ensure default guest account remains
608608
if (_servers.isEmpty ||
609609
_accounts.isEmpty ||
610-
_selectedAccount.isEmpty ||
611-
_accounts.length == 1) {
610+
_selectedAccount.isEmpty) {
612611
await saveServer(ServerSoftware.mbin, 'kbin.earth');
613612
await setAccount(
614613
'@kbin.earth',

0 commit comments

Comments
 (0)