mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-20 16:06:39 +08:00
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:
@ -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),
|
||||
|
Reference in New Issue
Block a user