Prevent crash

pull/207/head
M66B 3 years ago
parent 27330ceddc
commit 1a32c1e1cd

@ -383,6 +383,9 @@ public class FragmentAccounts extends FragmentBase {
}
private void onMenuSearch() {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
Bundle args = new Bundle();
FragmentDialogSearch fragment = new FragmentDialogSearch();

@ -727,6 +727,9 @@ public class FragmentFolders extends FragmentBase {
}
private void onMenuSearch() {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
Bundle args = new Bundle();
args.putLong("account", account);

@ -5232,6 +5232,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
private void onMenuSearch() {
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
return;
Bundle args = new Bundle();
args.putLong("account", account);
args.putLong("folder", folder);

Loading…
Cancel
Save