forked from hardcoresushi/DroidFS
Crash fixes
This commit is contained in:
parent
defdd4d36f
commit
4593fb5ea1
@ -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"
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user