fix: Inconsistent padding for battery optimisation warning

The problem came after moving the card to DashboardScreen, this is because the card specified padding modifier but others does not. This commit remove the modifier completely.
This commit is contained in:
validcube
2024-07-07 17:58:51 +07:00
parent 40492b67d1
commit 37e9630b9c

View File

@ -238,7 +238,6 @@ fun DashboardScreen(
if (vm.showBatteryOptimizationsWarning) {
{
NotificationCard(
modifier = Modifier.padding(16.dp),
isWarning = true,
icon = Icons.Default.BatteryAlert,
text = stringResource(R.string.battery_optimization_notification),