Skip to content

Commit 44b2b3e

Browse files
author
Robin Martens
committed
Fix second order push
1 parent 5231244 commit 44b2b3e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

flutter/bean_bot/lib/pages/debug.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class _DebugPageState extends State<DebugPage> {
3434
title: const Text('Debug Menu'),
3535
),
3636
body: ListView(children: [
37-
// Creates the connection indicator on top of the screen. \
37+
// Creates the connection indicator on top of the screen.
3838
_buildConnectionStateText(
3939
_prepareStateMessageFrom(appState.getAppConnectionState),
4040
setColor(appState.getAppConnectionState),

flutter/bean_bot/lib/pages/homepage.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,8 @@ class _HomePageState extends State<HomePage> {
11411141
if (currentOrderState.getFirstOrder == '' &&
11421142
currentOrderState.getSecondOrder == '') {
11431143
_publishMessage(currentAppState.getOrderMessage, "order1");
1144+
} else if (currentOrderState.getFirstOrder != '' && currentOrderState.getSecondOrder == '') {
1145+
_publishMessage(currentAppState.getOrderMessage, "order2");
11441146
}
11451147
currentOrderState.setOrder(currentOrder);
11461148
currentOrderState

0 commit comments

Comments
 (0)