Skip to content

Commit b6918d8

Browse files
authored
Merge pull request #3 from jfversluis/jfversluis-patch-1
Use proper call for Remove() on Android
2 parents a73a639 + ed508dc commit b6918d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Plugin.Maui.FormsMigration/SecureStorage/LegacySecureStorage.android.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static Task<string> GetAsync(string key)
4747
/// <param name="key">The key to remove.</param>
4848
public static bool Remove(string key)
4949
{
50-
Preferences.Clear(alias);
50+
Preferences.Remove(key, alias);
5151

5252
return true;
5353
}
@@ -59,4 +59,4 @@ public static void RemoveAll()
5959
{
6060
Preferences.Clear(alias);
6161
}
62-
}
62+
}

0 commit comments

Comments
 (0)