mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Fix back icon when returning from build-in pdf viewer
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
This commit is contained in:
parent
391ffa5b1d
commit
55bd8cbd9c
1 changed files with 2 additions and 0 deletions
|
@ -1080,6 +1080,8 @@ public class FileDisplayActivity extends FileActivity
|
|||
}
|
||||
} else if (leftFragment instanceof PreviewTextStringFragment) {
|
||||
createMinFragments(null);
|
||||
} else if (leftFragment instanceof PreviewPdfFragment) {
|
||||
super.onBackPressed();
|
||||
} else {
|
||||
// pop back
|
||||
resetScrolling(true);
|
||||
|
|
Loading…
Reference in a new issue