Skip to content

Small fixes: Clear icons in search, fold preview pages - #724

Merged
McCal-Codes merged 6 commits into
mainfrom
small-fixes-b8
Dec 4, 2026
Merged

McCal-Codes merged 6 commits into
mainfrom
small-fixes-b8

Conversation

@McCal-Codes

@McCal-Codes McCal-Codes commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Three small fixes found while going through the open items for the next beta.

What changes

  • Clear icons in search (#718). With the Clear icon style, a search row that was reused for another app kept the previous app's symbol: ClearIcon's produceState restarted on the new app but kept its old value, and the value == null check then skipped loading. The symbol is now remembered by the app (remember(app.id, packIcon) in LiveIcons.kt), so a reused row starts from the new app's own cached symbol, or none, on its first frame. The first version of this fix reset the value inside produceState, which runs a frame late; an independent read of the code caught that (2aded91).
  • Fold previews showed the same Home page twice. FoldEffectPreview and UnfoldedHomePreview in CustomizationSheet.kt drew one page in both panes. They now use previewHomePages(..., twoPanes = true), the pairing the wallpaper preview already uses.
  • Discover gate comment. The comment on DISCOVER_WIDGET in FeatureGate.kt still described the old behavior. Comment only.

Checked

  • WallpaperPreviewPagesTest: 4 tests, 0 failures (the pairing the previews now use).
  • The app compiles; the branch is in a local test build installed on two Fold8s as Folio Dev on 3 Dec.

Not checked

  • On the Fold8's inside screen (3 Dec, optimized build of 42438d78) the Duet page's preview and its seven style previews draw a frosted left half beside Home's first page.
  • The icon fix, same phone, optimized build of 200ff98a, icon style switched to Clear for the test and back to Default after: three searches in a row (c, s, m) each showed every row's own symbol, the reused Top Hit row included (Chrome, Settings, Messages). It still has no unit test (it is a composable's state).
  • The full gate has not been run on this branch on its own.
  • Possible and not verified: with Today View set to sit beside Home, the two Customize previews may draw the leading page's apps on the left where Home shows Today View. The wallpaper preview blanks that pane; these two do not.
  • The same local gate as PR 725's ran on a tree with this branch in it; see there.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T16:21:34.418588Z 6f158b1 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@McCal-Codes
McCal-Codes merged commit 5e2690a into main Dec 4, 2026
11 of 12 checks passed
@McCal-Codes
McCal-Codes deleted the small-fixes-b8 branch December 4, 2026 03:14
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