updating commons and gradle

This commit is contained in:
tibbi 2020-06-19 20:29:38 +02:00
parent d494350c0e
commit 71666fca2e
5 changed files with 7 additions and 9 deletions

View File

@ -58,7 +58,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.29.1'
implementation 'com.simplemobiletools:commons:5.29.14'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -202,7 +202,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
finishActMode()
}
}
else -> RenameDialog(activity, paths) {
else -> RenameDialog(activity, paths, false) {
activity.runOnUiThread {
listener?.refreshItems()
finishActMode()

View File

@ -108,7 +108,6 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
}
mView.items_fastscroller.updateBubbleColors()
mView.items_fastscroller.allowBubbleDisplay = true
if (!isFirstResume) {
refreshItems()
}
@ -161,7 +160,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
mView.apply {
activity?.runOnUiThread {
items_swipe_refresh?.isRefreshing = false
mView.breadcrumbs.setBreadcrumb(currentPath)
breadcrumbs.setBreadcrumb(currentPath)
if (!forceRefresh && items.hashCode() == storedItems.hashCode()) {
return@runOnUiThread
}
@ -173,8 +172,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
items_list.adapter = this
}
items_fastscroller.allowBubbleDisplay = true
items_fastscroller.setViews(items_list, mView.items_swipe_refresh) {
items_fastscroller.setViews(items_list, items_swipe_refresh) {
items_fastscroller.updateBubbleText(storedItems.getOrNull(it)?.getBubbleText(context, storedDateFormat, storedTimeFormat)
?: "")
}

View File

@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.android.tools.build:gradle:4.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong

View File

@ -1,6 +1,6 @@
#Sun Mar 15 19:52:11 CET 2020
#Fri Jun 19 20:19:02 CEST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip