mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
change check order
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
8434a4887c
commit
b057344e46
1 changed files with 4 additions and 4 deletions
|
@ -1019,13 +1019,13 @@ public class FileDisplayActivity extends FileActivity
|
|||
@SuppressFBWarnings("ITC_INHERITANCE_TYPE_CHECKING")
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
if (isDrawerOpen()) {
|
||||
super.onBackPressed();
|
||||
if (isSearchOpen()) {
|
||||
resetSearchAction();
|
||||
return;
|
||||
}
|
||||
|
||||
if (isSearchOpen()) {
|
||||
resetSearchAction();
|
||||
if (isDrawerOpen()) {
|
||||
super.onBackPressed();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue