]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/async/UpdateAccountsTask.java
drop functionality for limiting account tree display to selected accounts
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / async / UpdateAccountsTask.java
index 667bf99809f6e29f6da971651f70cd5e673e4823..8beab181c3b0a86ea7258a553d061f521e37e8ec 100644 (file)
@@ -37,11 +37,9 @@ public class UpdateAccountsTask extends AsyncTask<Void, Void, ArrayList<LedgerAc
             MobileLedgerProfile profile = Data.profile.getValue();
             if (profile == null) throw new AssertionError();
             String profileUUID = profile.getUuid();
-            boolean onlyStarred = Data.optShowOnlyStarred.get();
             ArrayList<LedgerAccount> newList = new ArrayList<>();
 
             String sql = "SELECT a.name from accounts a WHERE a.profile = ?";
-            if (onlyStarred) sql += " AND a.hidden = 0";
             sql += " ORDER BY a.name";
 
             SQLiteDatabase db = App.getDatabase();