1
0
Fork 0
mirror of https://github.com/bitwarden/android.git synced 2025-03-17 19:58:46 +03:00

Ensure the correct file name is used for SharedPreferences ()

This commit is contained in:
Brian Yencho 2024-01-06 16:31:46 -06:00 committed by Álison Fernandes
parent 6ef7be296e
commit 91625ff2af

View file

@ -20,5 +20,9 @@ object PreferenceModule {
@Singleton
fun provideDefaultSharedPreferences(
application: Application,
): SharedPreferences = application.getSharedPreferences(null, Context.MODE_PRIVATE)
): SharedPreferences =
application.getSharedPreferences(
"${application.packageName}_preferences",
Context.MODE_PRIVATE,
)
}