mirror of
https://github.com/bitwarden/mobile
synced 2025-12-12 22:33:25 +00:00
clear settings via format as prefix
This commit is contained in:
@@ -340,12 +340,9 @@ namespace Bit.Android.Services
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ClearSettings(string prefix = null)
|
private void ClearSettings(string format = SettingsFormat)
|
||||||
{
|
{
|
||||||
if(prefix == null)
|
var prefix = string.Format(format, string.Empty);
|
||||||
{
|
|
||||||
prefix = string.Format(SettingsFormat);
|
|
||||||
}
|
|
||||||
|
|
||||||
using(var sharedPreferences = PreferenceManager.GetDefaultSharedPreferences(Application.Context))
|
using(var sharedPreferences = PreferenceManager.GetDefaultSharedPreferences(Application.Context))
|
||||||
using(var sharedPreferencesEditor = sharedPreferences.Edit())
|
using(var sharedPreferencesEditor = sharedPreferences.Edit())
|
||||||
|
|||||||
Reference in New Issue
Block a user