removing a check from sorting, not sure why was it there

This commit is contained in:
tibbi 2016-12-03 18:32:30 +01:00
parent 6694649835
commit 747e007fd0
1 changed files with 2 additions and 6 deletions

View File

@ -68,13 +68,9 @@ class ChangeSortingDialog(val activity: Activity, val isDirectorySorting: Boolea
} }
if (isDirectorySorting) { if (isDirectorySorting) {
if (config.directorySorting != sorting) { config.directorySorting = sorting
config.directorySorting = sorting
}
} else { } else {
if (config.sorting != sorting) { config.sorting = sorting
config.sorting = sorting
}
} }
callback.invoke() callback.invoke()
} }