mirror of
https://github.com/kalarina-bit/Matewave.git
synced 2026-11-22 08:06:09 +00:00
Use a heart instead of the logo on the support plaque
This commit is contained in:
@@ -188,19 +188,15 @@ fun SettingsScreen(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Donation plaque with the app icon, last on the screen so it never gets in the way
|
// Donation plaque, last on the screen so it never gets in the way. A heart rather than the
|
||||||
|
// app icon: the logo already appears in the About dialog
|
||||||
ListGroup {
|
ListGroup {
|
||||||
ListRow(
|
ListRow(
|
||||||
title = stringResource(R.string.support_title),
|
title = stringResource(R.string.support_title),
|
||||||
subtitle = stringResource(R.string.support_text),
|
subtitle = stringResource(R.string.support_text),
|
||||||
leading = {
|
icon = R.drawable.ic_heart,
|
||||||
Image(
|
iconTint = DonateRed,
|
||||||
painter = painterResource(R.drawable.ic_launcher_card),
|
chevron = true,
|
||||||
contentDescription = null,
|
|
||||||
modifier = Modifier.size(36.dp).clip(RoundedCornerShape(10.dp))
|
|
||||||
)
|
|
||||||
},
|
|
||||||
trailing = { cc.skysparkle.matewave.ui.components.AppIcon(R.drawable.ic_heart, size = 22.dp, tint = DonateRed) },
|
|
||||||
onClick = { cc.skysparkle.matewave.settings.AppLinks.open(context, cc.skysparkle.matewave.settings.AppLinks.DONATE) }
|
onClick = { cc.skysparkle.matewave.settings.AppLinks.open(context, cc.skysparkle.matewave.settings.AppLinks.DONATE) }
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user