feat: made the ongoing screen... for now
This commit is contained in:
parent
099b20f805
commit
e5a8745e0e
5 changed files with 119 additions and 2 deletions
|
|
@ -55,6 +55,12 @@ class BalRepository {
|
|||
false;
|
||||
}
|
||||
|
||||
Future<Result<Bal>> stopBal(int id) async {
|
||||
final result = await _apiClient.stopBal(id);
|
||||
_getBalsNoCache();
|
||||
return result;
|
||||
}
|
||||
|
||||
Future<Result<Bal>> startBal(int id) async {
|
||||
if (isABalOngoing()) {
|
||||
return Result.error(
|
||||
|
|
|
|||
Reference in a new issue