-
Notifications
You must be signed in to change notification settings - Fork 154
Dark theme support #72
Comments
I can confirm I am seeing the same issue - changing to dark mode will relaunch the activities, but the dark mode is not enabled. Restarting the process will fix it. I had my own language switching code and it has the same issue as this library... |
I found the issue in your code: Line 17 in ed371be
You can't create the Configuration instance this way. You need to use Configuration() and only set the Locale. You only need to specify the values you would like to modify. The javadoc explains is:
|
From @DanielNovak suggestion. 32095d8 and 3a35ade gonna be solve this problem But I have to do the full testing before release this because there're a lot of changes from these code. |
Do you plan in releasing a new version soon ? Or at least an alpha or snapshot? |
@BugsBunnyBR Yes, soon. But if you want to try the early release version. Try JitPack // build.gradle (project)
allprojects {
repositories {
/* ... */
maven { url 'https://jitpack.io' }
}
}
// build.gradle (app: module)
dependencies {
/* ... */
implementation 'com.github.akexorcist:Localization:develop-SNAPSHOT'
} |
@xz-dev @DanielNovak @BugsBunnyBR Good news, 1.2.7 is rolling out |
I use Application to setting my app as README saying.
But when the System Theme has changed to dark/light theme, my app will not auto change theme.
If I do not set Application and just use LocalizationApplication, my app won't go wrong.
The text was updated successfully, but these errors were encountered: