updating commons
This commit is contained in:
parent
e3d0e2b1e7
commit
feecf8d485
|
@ -57,7 +57,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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:RootTools:df729dcb13'
|
||||||
implementation 'com.github.Stericson:RootShell:1.6'
|
implementation 'com.github.Stericson:RootShell:1.6'
|
||||||
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
||||||
|
|
|
@ -68,7 +68,7 @@ fun BaseSimpleActivity.toggleItemVisibility(oldPath: String, hide: Boolean, call
|
||||||
|
|
||||||
val newPath = "$path/$filename"
|
val newPath = "$path/$filename"
|
||||||
if (oldPath != newPath) {
|
if (oldPath != newPath) {
|
||||||
renameFile(oldPath, newPath) {
|
renameFile(oldPath, newPath, false) { success, useAndroid30Way ->
|
||||||
callback?.invoke(newPath)
|
callback?.invoke(newPath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue