Skip to content

Commit

Permalink
HomePage: make sure to report error on exception
Browse files Browse the repository at this point in the history
Signed-off-by: Peppe289 <gsperanza204@protonmail.com>
  • Loading branch information
Peppe289 committed Aug 7, 2024
1 parent fda1dc5 commit ee2a9f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/gui/HomePage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ class _BuildHomePage extends State<BuildHomePage> {
_selectedFrequencyMax = Frequency(FrequencyList().currfreqMax());
list = FrequencyList().availableFreq();
if (list.first.frequency == -1) {
isRave = false;
setState(() {
isRave = false;
});
}
} catch (e) {
isRave = false;
setState(() {
isRave = false;
});
}
}

Expand Down

0 comments on commit ee2a9f5

Please sign in to comment.