mirror of
https://github.com/bitwarden/android.git
synced 2025-02-16 20:09:59 +03:00
Ensure the correct file name is used for SharedPreferences (#513)
This commit is contained in:
parent
6ef7be296e
commit
91625ff2af
1 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue