mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Fix wrong handling of back button (#7067)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
4b91b23c28
commit
45367ee3f4
1 changed files with 1 additions and 3 deletions
|
@ -809,9 +809,7 @@ public class FileDisplayActivity extends FileActivity
|
|||
} else if (
|
||||
currentDir != null && currentDir.getParentId() != 0 ||
|
||||
second != null && second.getFile() != null ||
|
||||
isSearchOpen() ||
|
||||
second == null
|
||||
) {
|
||||
isSearchOpen()) {
|
||||
onBackPressed();
|
||||
} else {
|
||||
openDrawer();
|
||||
|
|
Loading…
Reference in a new issue