mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-08 20:08:06 +02:00
Set English locale for the app to avoid seeing system-localized strings, like post time ago
This commit is contained in:
parent
d35dd18072
commit
37da339683
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user