File tree Expand file tree Collapse file tree
src/main/kotlin/com/simplemobiletools/draw Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646}
4747
4848dependencies {
49- implementation ' com.simplemobiletools:commons:3.0.10 '
49+ implementation ' com.simplemobiletools:commons:3.0.12 '
5050
5151 debugImplementation " com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion "
5252 releaseImplementation " com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion "
Original file line number Diff line number Diff line change 11package com.simplemobiletools.draw
22
33import android.app.Application
4+ import com.simplemobiletools.commons.extensions.checkUseEnglish
45import com.simplemobiletools.draw.BuildConfig.USE_LEAK_CANARY
5- import com.simplemobiletools.draw.extensions.config
66import com.squareup.leakcanary.LeakCanary
7- import java.util.*
87
98class App : Application () {
109 override fun onCreate () {
@@ -16,10 +15,6 @@ class App : Application() {
1615 LeakCanary .install(this )
1716 }
1817
19- if (config.useEnglish) {
20- val conf = resources.configuration
21- conf.locale = Locale .ENGLISH
22- resources.updateConfiguration(conf, resources.displayMetrics)
23- }
18+ checkUseEnglish()
2419 }
2520}
You can’t perform that action at this time.
0 commit comments