Skip to content

Commit ca747dd

Browse files
committed
get rid of redundant colors
1 parent 43d8ba2 commit ca747dd

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/src/main/java/org/schabi/newpipe/ui/components/common/PrivacyPolicyDialog.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import androidx.compose.material.icons.filled.Warning
1212
import androidx.compose.material3.AlertDialog
1313
import androidx.compose.material3.Icon
1414
import androidx.compose.material3.MaterialTheme
15-
import androidx.compose.material3.Surface
1615
import androidx.compose.material3.Text
1716
import androidx.compose.material3.TextButton
1817
import androidx.compose.runtime.Composable
@@ -68,10 +67,7 @@ fun PrivacyPolicyDialog(
6867
color = MaterialTheme.colorScheme.error
6968
)
7069
}
71-
},
72-
containerColor = MaterialTheme.colorScheme.surface,
73-
titleContentColor = MaterialTheme.colorScheme.onSurface,
74-
textContentColor = MaterialTheme.colorScheme.onSurfaceVariant
70+
}
7571
)
7672
}
7773

0 commit comments

Comments
 (0)