Change title to aspect ratio (experimental)
Settings > Apps > Aspect ratio (experimental) Settings > Apps > App info > Aspect ratio (experimental) Fix: 300219974 Test: Manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:83b61850f3ed511b42c148b63840b12cff3fe5aa) Merged-In: I359c744025232c6a6ebd9628dbf91acac85b53e9 Change-Id: I359c744025232c6a6ebd9628dbf91acac85b53e9
This commit is contained in:
committed by
Graciela Putri
parent
ab64754c7c
commit
ac2bfce107
@@ -41,7 +41,7 @@ fun UserAspectRatioAppPreference(app: ApplicationInfo) {
|
||||
if (!presenter.isAvailableFlow.collectAsStateWithLifecycle(initialValue = false).value) return
|
||||
|
||||
Preference(object : PreferenceModel {
|
||||
override val title = stringResource(R.string.aspect_ratio_title)
|
||||
override val title = stringResource(R.string.aspect_ratio_experimental_title)
|
||||
override val summary = presenter.summaryFlow.collectAsStateWithLifecycle(
|
||||
initialValue = stringResource(R.string.summary_placeholder),
|
||||
)
|
||||
|
||||
@@ -82,7 +82,7 @@ object UserAspectRatioAppsPageProvider : SettingsPageProvider {
|
||||
@VisibleForTesting
|
||||
fun EntryItem() =
|
||||
Preference(object : PreferenceModel {
|
||||
override val title = stringResource(R.string.aspect_ratio_title)
|
||||
override val title = stringResource(R.string.aspect_ratio_experimental_title)
|
||||
override val summary = getSummary().toState()
|
||||
override val onClick = navigator(name)
|
||||
})
|
||||
@@ -104,7 +104,7 @@ fun UserAspectRatioAppList(
|
||||
= { AppList() },
|
||||
) {
|
||||
AppListPage(
|
||||
title = stringResource(R.string.aspect_ratio_title),
|
||||
title = stringResource(R.string.aspect_ratio_experimental_title),
|
||||
listModel = rememberContext(::UserAspectRatioAppListModel),
|
||||
appList = appList,
|
||||
header = {
|
||||
|
||||
Reference in New Issue
Block a user