Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de69d46e authored by David Luhmer's avatar David Luhmer
Browse files

use getAccounts() instead of getAccountsByType("nextcloud")

parent 9aec063c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ public class AccountImporter {
    // Find all currently installed nextcloud accounts on the phone
    public static List<Account> findAccounts(final Context context) {
        final AccountManager accMgr = AccountManager.get(context);
        final Account[] accounts = accMgr.getAccountsByType("nextcloud");
        final Account[] accounts = accMgr.getAccounts();

        List<Account> accountsAvailable = new ArrayList<>();
        for (final Account account : accounts) {