mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 18:59:18 +03:00
Check emptiness of previousSortGroupState
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
f7502cead3
commit
9151e32a5b
1 changed files with 4 additions and 0 deletions
|
@ -2486,6 +2486,10 @@ public class FileDisplayActivity extends FileActivity
|
|||
* visibility earlier using {@link #setSortListGroup(boolean, boolean)}
|
||||
*/
|
||||
private void popSortListGroupVisibility() {
|
||||
if (previousSortGroupState.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
boolean popped = previousSortGroupState.pop();
|
||||
showSortListGroup(popped);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue