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
committed by oSumAtrIX
parent 1a9031193c
commit f384c66dd6

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),