mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-25 23:26:16 +02:00
Merge pull request #150 from Radiokot/fix/i18n_issues
Fix system-localized strings
This commit is contained in:
@@ -14,6 +14,8 @@ android {
|
||||
versionCode 65
|
||||
versionName "0.17.9"
|
||||
|
||||
resConfigs "en"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
useSupportLibrary true
|
||||
|
@@ -21,6 +21,7 @@ import com.vitorpamplona.amethyst.service.relays.Client
|
||||
import com.vitorpamplona.amethyst.ui.screen.AccountScreen
|
||||
import com.vitorpamplona.amethyst.ui.screen.AccountStateViewModel
|
||||
import com.vitorpamplona.amethyst.ui.theme.AmethystTheme
|
||||
import java.util.*
|
||||
|
||||
class MainActivity : ComponentActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
@@ -61,6 +62,8 @@ class MainActivity : ComponentActivity() {
|
||||
}
|
||||
|
||||
Client.lenient = true
|
||||
|
||||
Locale.setDefault(Locale.ENGLISH)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
Reference in New Issue
Block a user