mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Update: Link LanguagePref with its Dialog
This commit is contained in:
parent
3284c17937
commit
6884dd8136
@ -19,6 +19,7 @@ import com.machiav3lli.fdroid.R
|
||||
import com.machiav3lli.fdroid.content.Preferences
|
||||
import com.machiav3lli.fdroid.ui.compose.components.prefs.PreferenceGroup
|
||||
import com.machiav3lli.fdroid.ui.dialog.BaseDialog
|
||||
import com.machiav3lli.fdroid.ui.dialog.LanguagePrefDialogUI
|
||||
|
||||
@OptIn(ExperimentalMaterial3Api::class)
|
||||
@Composable
|
||||
@ -72,7 +73,9 @@ fun PrefsPersonalPage() {
|
||||
if (openDialog.value) {
|
||||
BaseDialog(openDialogCustom = openDialog) {
|
||||
when (dialogPref) {
|
||||
// TODO
|
||||
Preferences.Key.Language -> LanguagePrefDialogUI(
|
||||
openDialogCustom = openDialog
|
||||
)
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user