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