Fix incorrect key for shared prefs

This commit is contained in:
ameba23
2021-06-25 13:36:03 +02:00
parent 3484892628
commit e9f4f084dd

View File

@@ -87,7 +87,8 @@ class OwnerReturnShardViewModel extends AndroidViewModel
this.task = task;
this.prefs = app.getSharedPreferences("account-recovery",
Context.MODE_PRIVATE);
restoreAccount.restoreFromPrevious(prefs.getStringSet("Recover", new HashSet<>()));
restoreAccount.restoreFromPrevious(prefs.getStringSet("recovered", new HashSet<>()));
wifiManager = (WifiManager) app.getSystemService(WIFI_SERVICE);