fix(resources): add resourcePrefix to KMP + widget modules, rename prefixed resources (#5111)

This commit is contained in:
James Rich 2026-04-13 13:25:23 -05:00 committed by GitHub
parent 8a06157ff4
commit b13f9bf989
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 308 additions and 7 deletions

View file

@ -132,11 +132,11 @@ class LocalStatsWidget :
Scaffold(
titleBar = {
TitleBar(
startIcon = ImageProvider(R.drawable.app_icon),
startIcon = ImageProvider(R.drawable.widget_app_icon),
title = stringResource(Res.string.meshtastic_app_name),
actions = {
CircleIconButton(
imageProvider = ImageProvider(R.drawable.ic_refresh),
imageProvider = ImageProvider(R.drawable.widget_ic_refresh),
contentDescription = stringResource(Res.string.refresh),
onClick = actionRunCallback<RefreshLocalStatsAction>(),
backgroundColor = null,
@ -297,7 +297,7 @@ class LocalStatsWidget :
CircularProgressIndicator(modifier = GlanceModifier.size(24.dp))
} else {
Image(
provider = ImageProvider(R.drawable.app_icon),
provider = ImageProvider(R.drawable.widget_app_icon),
contentDescription = null,
modifier = GlanceModifier.size(32.dp),
)