refactor: preference repository #74

Merged
PeterCxy merged 4 commits from septs/OpenEUICC:prefs into master 2024-11-30 16:05:46 +01:00
Contributor

reduce template code

reduce template code
septs added 1 commit 2024-11-30 04:06:29 +01:00
septs added 1 commit 2024-11-30 05:34:05 +01:00
septs requested review from PeterCxy 2024-11-30 06:29:50 +01:00
septs added 1 commit 2024-11-30 06:41:52 +01:00
PeterCxy reviewed 2024-11-30 15:30:14 +01:00
@ -62,3 +53,2 @@
val experimentalDownloadWizardFlow: Flow<Boolean> =
dataStore.data.map { it[PreferenceKeys.EXPERIMENTAL_DOWNLOAD_WIZARD] ?: false }
private fun <T> bind(key: Preferences.Key<T>, defaultValue: T): Flow<T> =
Owner

bind -> bindFlow?

bind -> bindFlow?
septs marked this conversation as resolved
septs force-pushed prefs from c404e7cae6 to 18edef0247 2024-11-30 16:03:44 +01:00 Compare
PeterCxy merged commit 50c77ea467 into master 2024-11-30 16:05:46 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PeterCxy/OpenEUICC#74
No description provided.