mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
fix Android
This commit is contained in:
@@ -64,9 +64,9 @@ class SimplexApp: Application(), LifecycleEventObserver {
|
||||
}
|
||||
}
|
||||
context = this
|
||||
runMigrations()
|
||||
initHaskell()
|
||||
initMultiplatform()
|
||||
runMigrations()
|
||||
tmpDir.deleteRecursively()
|
||||
tmpDir.mkdir()
|
||||
|
||||
|
||||
+2
-1
@@ -42,7 +42,8 @@ object ThemeManager {
|
||||
DefaultTheme.SIMPLEX.themeName -> ActiveTheme(DefaultTheme.SIMPLEX.themeName, DefaultTheme.SIMPLEX, SimplexColorPalette, SimplexColorPaletteApp)
|
||||
else -> ActiveTheme(DefaultTheme.LIGHT.themeName, DefaultTheme.LIGHT, LightColorPalette, LightColorPaletteApp)
|
||||
}
|
||||
if (theme == null && perUserTheme == null) {
|
||||
|
||||
if (theme == null && perUserTheme == null && perChatTheme == null) {
|
||||
return ActiveTheme(themeName, baseTheme.base, baseTheme.colors, baseTheme.appColors, baseTheme.wallpaper)
|
||||
}
|
||||
val wallpaperTheme = when {
|
||||
|
||||
@@ -17,8 +17,8 @@ import kotlinx.coroutines.*
|
||||
import java.io.File
|
||||
|
||||
fun main() {
|
||||
runMigrations()
|
||||
initHaskell()
|
||||
runMigrations()
|
||||
initApp()
|
||||
tmpDir.deleteRecursively()
|
||||
tmpDir.mkdir()
|
||||
|
||||
Reference in New Issue
Block a user