private async void clearHistory(object obj) { Loading = true; try { await FirebaseManager.ClearHistory(); Histories.Clear(); NotifyProperty(nameof(IsHistoriesEmpty)); } catch (Exception e) { OnError(e); } Loading = false; }
private async void clearHistory(object obj) { Loading = true; try { await FirebaseManager.ClearHistory(); Histories.Clear(); NotifyProperty(nameof(IsHistoriesEmpty)); } catch (Exception e) { OnError(e); } Loading = false; }