Skip to content

Commit

Permalink
Merge branch 'main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
mediocre9 authored Oct 24, 2023
2 parents 4237784 + 0a0a1a5 commit 4164af3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/screens/bluetooth_home_screen/bluetooth_home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ class BluetoothHomeScreen extends StatelessWidget with StandardAppWidgets {

case ShowPairedDevices():
return DevicesListView(devices: state.devices);

case ShowDiscoveredDevices():
return DevicesListView(devices: state.devices);

case ScanAnimation():
return RadarAnimation(text: state.text);

Expand All @@ -165,6 +167,7 @@ class BluetoothHomeScreen extends StatelessWidget with StandardAppWidgets {
],
),
);

default:
return Container();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ class BluetoothHomeCubit extends Cubit<BluetoothHomeState> {
final currentState = _paired.isNotEmpty ? ShowPairedDevices(devices: _paired) : Initial(text: Strings.bluetoothOnHomeDescription, icon: Icons.bluetooth_rounded);
emit(currentState);
}
}
}

0 comments on commit 4164af3

Please sign in to comment.