Skip to content

Migrate SharedPreferences to DataStore for app state keys#18

Merged
powerje merged 1 commit intotrunkfrom
prefs_to_datastore
Mar 14, 2026
Merged

Migrate SharedPreferences to DataStore for app state keys#18
powerje merged 1 commit intotrunkfrom
prefs_to_datastore

Conversation

@powerje
Copy link
Copy Markdown
Member

@powerje powerje commented Mar 14, 2026

  • Remove 4 dead SharedPreferences write blocks (CONNECT_TO, {name}.PREFS, SERVICE_INFO/SETTINGS_PATH, TEST_USER)
  • Add multi-process DataStore (AppStateStore.kt) with Java-friendly helpers for cross-process reads/writes
  • Migrate STATUS_BAR_HEIGHT, TITLE_BAR_HEIGHT, TEST_VERSION, and LUA_LIBS_VERSION to DataStore

@powerje powerje merged commit da4bcb9 into trunk Mar 14, 2026
1 check passed
@powerje powerje deleted the prefs_to_datastore branch March 14, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant