mirror of
https://github.com/moparisthebest/keepass2android
synced 2025-01-30 14:40:21 -05:00
Bug fixes:
- reload DB also works when viewing non-root group - Display of current group is refreshed after merging changes
This commit is contained in:
parent
4c68c0715c
commit
8cb849365e
@ -102,6 +102,12 @@ namespace keepass2android
|
|||||||
Finish();
|
Finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (resultCode == KeePass.ExitReloadDb)
|
||||||
|
{
|
||||||
|
AppTask.SetActivityResult(this, KeePass.ExitReloadDb);
|
||||||
|
Finish();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private ISharedPreferences _prefs;
|
private ISharedPreferences _prefs;
|
||||||
@ -414,6 +420,10 @@ namespace keepass2android
|
|||||||
if (!String.IsNullOrEmpty(message))
|
if (!String.IsNullOrEmpty(message))
|
||||||
Toast.MakeText(this, message, ToastLength.Long).Show();
|
Toast.MakeText(this, message, ToastLength.Long).Show();
|
||||||
|
|
||||||
|
// Tell the adapter to refresh it's list
|
||||||
|
BaseAdapter adapter = (BaseAdapter)ListAdapter;
|
||||||
|
adapter.NotifyDataSetChanged();
|
||||||
|
|
||||||
if (App.Kp2a.GetDb().OtpAuxFileIoc != null)
|
if (App.Kp2a.GetDb().OtpAuxFileIoc != null)
|
||||||
{
|
{
|
||||||
var task2 = new SyncOtpAuxFile(App.Kp2a.GetDb().OtpAuxFileIoc);
|
var task2 = new SyncOtpAuxFile(App.Kp2a.GetDb().OtpAuxFileIoc);
|
||||||
|
Loading…
Reference in New Issue
Block a user