Fixed enlarged chip spacing

This commit is contained in:
Pupil
2020-01-24 17:02:53 +09:00
parent c204353220
commit d73dc19d3d
10 changed files with 22 additions and 10 deletions

View File

@@ -73,13 +73,18 @@ class Pupil : MultiDexApplication() {
manager.createNotificationChannel(channel)
}
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true)
AppCompatDelegate.setDefaultNightMode(when (preference.getBoolean("dark_mode", false)) {
true -> AppCompatDelegate.MODE_NIGHT_YES
false -> AppCompatDelegate.MODE_NIGHT_NO
})
CoroutineScope(Dispatchers.IO).launch {
updateOldReaderGalleries(this@Pupil)
try {
updateOldReaderGalleries(this@Pupil)
} catch (e: Exception) {
// do nothing
}
}
super.onCreate()