Correct the disable button text
This is a type before, use the correct string resource. Also remove the title to align with before SPA migration. Fix: 275344620 Test: Manually with Settings Change-Id: Id80cd1e3e7092cb645cb6ccb563e8fd11c5a40e5
This commit is contained in:
@@ -112,11 +112,10 @@ class AppDisableButton(
|
|||||||
@Composable
|
@Composable
|
||||||
private fun confirmDialogPresenter() = rememberAlertDialogPresenter(
|
private fun confirmDialogPresenter() = rememberAlertDialogPresenter(
|
||||||
confirmButton = AlertDialogButton(
|
confirmButton = AlertDialogButton(
|
||||||
text = stringResource(R.string.reset_app_preferences_button),
|
text = stringResource(R.string.app_disable_dlg_positive),
|
||||||
onClick = packageInfoPresenter::disable,
|
onClick = packageInfoPresenter::disable,
|
||||||
),
|
),
|
||||||
dismissButton = AlertDialogButton(stringResource(R.string.cancel)),
|
dismissButton = AlertDialogButton(stringResource(R.string.cancel)),
|
||||||
title = stringResource(R.string.app_disable_dlg_positive),
|
|
||||||
text = { Text(stringResource(R.string.app_disable_dlg_text)) },
|
text = { Text(stringResource(R.string.app_disable_dlg_text)) },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user