mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-22 01:34:22 +00:00
add generic reorder dialog and prelimiary toolbar pref screen
This commit is contained in:
parent
d61963453f
commit
ce37888985
9 changed files with 203 additions and 14 deletions
|
@ -9,6 +9,7 @@ import androidx.compose.runtime.Composable
|
|||
import helium314.keyboard.settings.screens.createAboutPrefs
|
||||
import helium314.keyboard.settings.screens.createCorrectionPrefs
|
||||
import helium314.keyboard.settings.screens.createPreferencesPrefs
|
||||
import helium314.keyboard.settings.screens.createToolbarPrefs
|
||||
|
||||
class AllPrefs(context: Context) {
|
||||
private val list = createPrefDefs(context)
|
||||
|
@ -51,7 +52,7 @@ class PrefDef(
|
|||
}
|
||||
|
||||
private fun createPrefDefs(context: Context) = createAboutPrefs(context) +
|
||||
createCorrectionPrefs(context) + createPreferencesPrefs(context)
|
||||
createCorrectionPrefs(context) + createPreferencesPrefs(context) + createToolbarPrefs(context)
|
||||
|
||||
// todo: move somewhere else
|
||||
fun Context.getActivity(): ComponentActivity? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue