fix: continuing error managment and documentation
This commit is contained in:
parent
59e1c2558c
commit
dad000a1b9
24 changed files with 389 additions and 182 deletions
|
|
@ -11,7 +11,7 @@ class BalOngoingScreen extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
bottomNavigationBar: AppNavigationBar(startIndex: 0),
|
||||
appBar: AppBar(title: Text(viewModel.bal!.name)),
|
||||
appBar: AppBar(title: Text(viewModel.selectedBal!.name)),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(10.0),
|
||||
child: Column(
|
||||
|
|
@ -38,7 +38,9 @@ class BalOngoingScreen extends StatelessWidget {
|
|||
),
|
||||
TextButton(
|
||||
onPressed: () async {
|
||||
await viewModel.stopBal(viewModel.bal!.id);
|
||||
await viewModel.stopBal(
|
||||
viewModel.selectedBal!.id,
|
||||
);
|
||||
if (context.mounted) {
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue