diff --git a/app/build.gradle b/app/build.gradle index ac63f59..dcadaac 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,8 +24,6 @@ android { buildTypes { release { - minifyEnabled true - shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } @@ -42,7 +40,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "androidx.core:core-ktx:1.3.1" implementation "androidx.appcompat:appcompat:1.2.0" - implementation "androidx.constraintlayout:constraintlayout:1.1.3" + implementation "androidx.constraintlayout:constraintlayout:2.0.0" implementation "androidx.sqlite:sqlite:2.1.0" implementation "androidx.preference:preference:1.1.1" diff --git a/app/src/main/java/sushi/hardcore/droidfs/explorers/BaseExplorerActivity.kt b/app/src/main/java/sushi/hardcore/droidfs/explorers/BaseExplorerActivity.kt index c9e90f2..9ad1aff 100644 --- a/app/src/main/java/sushi/hardcore/droidfs/explorers/BaseExplorerActivity.kt +++ b/app/src/main/java/sushi/hardcore/droidfs/explorers/BaseExplorerActivity.kt @@ -193,8 +193,8 @@ open class BaseExplorerActivity : BaseActivity() { totalSize += element.size } } - total_size_text.text = getString(R.string.total_size, PathUtils.formatSize(totalSize)) runOnUiThread { + total_size_text.text = getString(R.string.total_size, PathUtils.formatSize(totalSize)) explorerAdapter.notifyDataSetChanged() } }.start()