mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 04:25:22 +00:00
allow user to select a theme preference over light/dark/system (#318)
This commit is contained in:
@@ -2,6 +2,7 @@ package com.bitchat.android
|
||||
|
||||
import android.app.Application
|
||||
import com.bitchat.android.nostr.RelayDirectory
|
||||
import com.bitchat.android.ui.theme.ThemePreferenceManager
|
||||
|
||||
/**
|
||||
* Main application class for bitchat Android
|
||||
@@ -23,5 +24,8 @@ class BitchatApplication : Application() {
|
||||
try {
|
||||
com.bitchat.android.nostr.NostrIdentityBridge.getCurrentNostrIdentity(this)
|
||||
} catch (_: Exception) { }
|
||||
|
||||
// Initialize theme preference
|
||||
ThemePreferenceManager.init(this)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user