Remove clunky text when changing to HackRF mode

This commit is contained in:
Gregory Fenton 2020-06-07 20:22:04 +01:00 committed by GitHub
parent a5721c5444
commit 07e9b50abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,7 +418,7 @@ UtilitiesMenuView::UtilitiesMenuView(NavigationView& nav) {
/* SystemMenuView ********************************************************/ /* SystemMenuView ********************************************************/
void SystemMenuView::hackrf_mode(NavigationView& nav) { void SystemMenuView::hackrf_mode(NavigationView& nav) {
nav.push<ModalMessageView>("HackRF mode", "This mode enables the USB\nfunctionality. Reset the\ndevice to get back.\n\nDo you want to Switch now?", YESNO, nav.push<ModalMessageView>("HackRF mode", " This mode enables HackRF\n functionality. To return,\n press the reset button.\n\n Switch to HackRF mode?", YESNO,
[this](bool choice) { [this](bool choice) {
if (choice) { if (choice) {
EventDispatcher::request_stop(); EventDispatcher::request_stop();