Simplification

This commit is contained in:
M66B
2020-03-14 14:00:02 +01:00
parent baa94dcece
commit 7e669bcde5
3 changed files with 12 additions and 36 deletions

View File

@@ -306,7 +306,7 @@ public class FragmentFolders extends FragmentBase {
});
// Observe folders
db.folder().liveFolders(account < 0 ? null : account).observe(getViewLifecycleOwner(), new Observer<List<TupleFolderEx>>() {
db.folder().liveFolders(account < 0 ? null : account, primary).observe(getViewLifecycleOwner(), new Observer<List<TupleFolderEx>>() {
@Override
public void onChanged(@Nullable List<TupleFolderEx> folders) {
if (folders == null) {