mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 04:44:35 +08:00
use primary color as exported theme name
This commit is contained in:
parent
a92e82e2e2
commit
a809631f55
@ -324,8 +324,9 @@ sealed class Theme : Parcelable {
|
||||
genericActiveForegroundColor = onPrimary
|
||||
)
|
||||
|
||||
@OptIn(ExperimentalStdlibApi::class)
|
||||
fun toCustom() = Custom(
|
||||
name = name,
|
||||
name = name + "#" + this.accentKeyBackgroundColor.toHexString(), // Use primary color as identifier
|
||||
isDark = isDark,
|
||||
backgroundImage = null,
|
||||
backgroundColor = backgroundColor,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user