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

View file

@ -68,14 +68,10 @@ 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()
} }
} }