createPreferencesDataStore
fun createPreferencesDataStore(context: Context, dispatchers: CoroutineDispatchers, legacyName: String, fileName: String): PrefsStore(source)
legacyName is the SharedPreferences file this domain migrates from, fileName the DataStore file it lives in now. Both are on-disk identities — changing either orphans existing user data.
Returns PrefsStore (not the underlying DataStore<Preferences> directly) so every provideXDataStore() call site above can keep calling .asXDataStore() unchanged — asPrefsStore() is the one line doing the adaptation.