fix #133, allow sorting by path

This commit is contained in:
tibbi 2018-04-03 11:51:48 +02:00
parent 428f71e6d6
commit d7e6e85400
2 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:3.17.23'
implementation 'com.simplemobiletools:commons:3.17.24'
implementation 'com.squareup:otto:1.3.8'
implementation 'com.facebook.stetho:stetho:1.5.0'

View file

@ -19,8 +19,8 @@ class ChangeSortingDialog(val activity: Activity, val callback: () -> Unit) {
.setPositiveButton(R.string.ok, { dialog, which -> dialogConfirmed() })
.setNegativeButton(R.string.cancel, null)
.create().apply {
activity.setupDialogStuff(view, this, R.string.sort_by)
}
activity.setupDialogStuff(view, this, R.string.sort_by)
}
currSorting = config.sorting
setupSortRadio()