fix issue

This commit is contained in:
2022-03-15 20:12:40 +08:00
parent 5b209cc19c
commit 8ba6f4bf85
8 changed files with 70 additions and 13 deletions

View File

@ -50,6 +50,17 @@ namespace Billing.Views
groupLayout.Refresh(accounts);
}
protected override void OnRefresh()
{
accounts.Clear();
foreach (var account in App.Accounts)
{
AddToAccountGroup(account);
}
RefreshBalance(true);
groupLayout.Refresh(accounts);
}
private void RefreshBalance(bool calc = false)
{
if (calc)