Skip to content

K2GO-443 fix(app): module icons from one source (Module management + members sheet) - #629

Merged
luisguzman-adfa merged 2 commits into
mainfrom
fix/K2GO-443-module-mgmt-icons
Oct 3, 2026
Merged

luisguzman-adfa merged 2 commits into
mainfrom
fix/K2GO-443-module-mgmt-icons

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

The add-ons work gave the Home "Code on the Go Dev" members sheet distinct glyphs (Add-ons = extension,
Build assets = box), but ModuleCards: the canonical source used by Settings > Module management, the
module detail and the action-sheet header: still mapped both to the code glyph, so those surfaces kept
showing the code icon. Two changes:

  • ModuleCards: code_addons -> ic_card_addons, code_assets -> ic_card_assets (the drawables already exist
    from the add-ons PR).
  • The Home member rows now read their glyph from ModuleCards.byEndpoint(endpoint) instead of hardcoding
    it, so a module's icon lives in ONE place and shows the same in Module management, the module detail,
    the action-sheet header and the Home members row (no more drift).

Verified on device: the Module management detail for Add-ons shows the extension glyph.

The add-ons work gave the Home members sheet distinct glyphs (add-ons = extension, build assets = box),
but ModuleCards: the canonical source used by Settings > Module management and the action-sheet header:
still mapped both to the code glyph. Point code_addons -> ic_card_addons and code_assets -> ic_card_assets
so both surfaces match.
…s (one icon source)

The member rows hardcoded their glyphs, a second place to update (the drift that left Module management on
the old icon). They now read ModuleCards.byEndpoint(endpoint).imageRes, so a module's icon is set once in
ModuleCards and shows the same in Module management, the module detail, the action-sheet header and the
Home members row.
@luisguzman-adfa
luisguzman-adfa merged commit bae6e9e into main Oct 3, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the fix/K2GO-443-module-mgmt-icons branch October 3, 2026 20:30
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