Skip to content

Change colorSeed default value in AppearanceSettings#1937

Merged
Tlaster merged 1 commit intomasterfrom
Tlaster-patch-1
Mar 27, 2026
Merged

Change colorSeed default value in AppearanceSettings#1937
Tlaster merged 1 commit intomasterfrom
Tlaster-patch-1

Conversation

@Tlaster
Copy link
Copy Markdown
Contributor

@Tlaster Tlaster commented Mar 27, 2026

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa461f6a9b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

val theme: Theme = Theme.SYSTEM,
val dynamicTheme: Boolean = true,
val colorSeed: ULong = 4284960932u,
val colorSeed: ULong = 0x02EBD2u,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep default color seed opaque

This literal drops the alpha channel: Compose packed colors are AARRGGBB, so 0x02EBD2u is fully transparent (AA=0x00). The app uses colorSeed directly as Color(colorSeed) in both theme generation (app/src/main/java/dev/dimension/flare/ui/theme/Theme.kt) and picker initialization (app/src/main/java/dev/dimension/flare/ui/screen/settings/ColorPickerDialog.kt), which means new installs now default to an alpha-0 seed and users can persist that transparent value unintentionally. If the intended default is visible #02EBD2, this should be 0xFF02EBD2u.

Useful? React with 👍 / 👎.

@Tlaster Tlaster merged commit d2ee63c into master Mar 27, 2026
9 checks passed
@Tlaster Tlaster deleted the Tlaster-patch-1 branch March 27, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant