Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

Codex/replace miuihyperfocuslyriccontroller with live updates api - #16

Merged
RedSTARO merged 7 commits into
masterfrom
codex/replace-miuihyperfocuslyriccontroller-with-live-updates-api
Feb 5, 2026
Merged

Codex/replace miuihyperfocuslyriccontroller with live updates api#16
RedSTARO merged 7 commits into
masterfrom
codex/replace-miuihyperfocuslyriccontroller-with-live-updates-api

Conversation

@RedSTARO

@RedSTARO RedSTARO commented Feb 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

@RedSTARO
RedSTARO merged commit 6414d29 into master Feb 5, 2026
3 checks passed

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

Copy link
Copy Markdown

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: d34b5d5e61

ℹ️ 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".

Comment on lines +119 to +122
SwitchItem(
SettingProvider.adaptOriginalAndroidLyric,
"Adapt original Android Live Update lyric"
) { SettingProvider.updateAdaptOriginalAndroidLyric(it) }

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 Wire new lyric-adaptation toggle into playback logic

This adds a user-facing switch for adaptOriginalAndroidLyric, but the flag is never read anywhere in the playback path, so toggling it has no runtime effect. I verified with a repo-wide search that the value is only referenced in SettingProvider and this settings UI, while PlaybackService still calls LiveUpdateLyricController.updateLyric(...) unconditionally. Users will see a control that appears functional but cannot change behavior.

Useful? React with 👍 / 👎.

Comment on lines +70 to +74
fun updateAdaptOriginalAndroidLyric(newStatus: Boolean){
adaptOriginalAndroidLyric = newStatus
CoroutineScope(Dispatchers.IO).launch {
DataStoreManager.setBooleanItem("adaptOriginalAndroidLyric", adaptOriginalAndroidLyric)
}

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 Restore persisted lyric-adaptation setting at startup

The new setter persists adaptOriginalAndroidLyric to DataStore, but initSetting() never reads that key back, so the value always falls back to false after app restart. This means the switch state is not durable across launches even though it is written to storage, which will confuse users and makes the preference unreliable.

Useful? React with 👍 / 👎.

@RedSTARO
RedSTARO deleted the codex/replace-miuihyperfocuslyriccontroller-with-live-updates-api branch February 6, 2026 15:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant