updating commons

This commit is contained in:
tibbi 2021-12-23 11:41:57 +01:00
parent e3d0e2b1e7
commit feecf8d485
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:42f2c7b300'
implementation 'com.github.SimpleMobileTools:Simple-Commons:d39bf6263d'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -68,7 +68,7 @@ fun BaseSimpleActivity.toggleItemVisibility(oldPath: String, hide: Boolean, call
val newPath = "$path/$filename"
if (oldPath != newPath) {
renameFile(oldPath, newPath) {
renameFile(oldPath, newPath, false) { success, useAndroid30Way ->
callback?.invoke(newPath)
}
}