mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-07-25 13:19:52 +00:00
Add: StringPref composable to PrefBuilder
This commit is contained in:
@ -25,5 +25,10 @@ fun PrefsBuilder(
|
|||||||
if (it) enabledSetState.addAll(dependents)
|
if (it) enabledSetState.addAll(dependents)
|
||||||
else enabledSetState.removeAll(dependents)
|
else enabledSetState.removeAll(dependents)
|
||||||
}
|
}
|
||||||
|
is String -> StringPreference(
|
||||||
|
prefKey = prefKey as Preferences.Key<String>,
|
||||||
|
index = index,
|
||||||
|
groupSize = size,
|
||||||
|
) { onDialogPref(prefKey) }
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user