mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Moved browse on server setting to account
This commit is contained in:
@@ -86,6 +86,12 @@ public class ViewModelBrowse extends ViewModel {
|
||||
if (folder == null) // unified inbox
|
||||
return;
|
||||
|
||||
if (state.search == null) {
|
||||
EntityAccount account = db.account().getAccount(folder.account);
|
||||
if (!account.browse)
|
||||
return;
|
||||
}
|
||||
|
||||
if (state.search != null)
|
||||
try {
|
||||
db.beginTransaction();
|
||||
|
||||
Reference in New Issue
Block a user