mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Fix deprecation warning on androidx.compose.material3.ListItem
This commit is contained in:
committed by
Benoit Marty
parent
d2b4a85453
commit
d1cf1aa09f
+2
-2
@@ -38,7 +38,7 @@ fun LockScreenSettingsView(
|
||||
) {
|
||||
PreferenceCategory(showTopDivider = false) {
|
||||
ListItem(
|
||||
headlineContent = {
|
||||
content = {
|
||||
Text(stringResource(id = R.string.screen_app_lock_settings_change_pin))
|
||||
},
|
||||
onClick = onChangePinClick,
|
||||
@@ -46,7 +46,7 @@ fun LockScreenSettingsView(
|
||||
PreferenceDivider()
|
||||
if (state.showRemovePinOption) {
|
||||
ListItem(
|
||||
headlineContent = {
|
||||
content = {
|
||||
Text(stringResource(id = R.string.screen_app_lock_settings_remove_pin))
|
||||
},
|
||||
style = ListItemStyle.Destructive,
|
||||
|
||||
Reference in New Issue
Block a user