mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-25 22:16:14 -05:00
No space after question mark
This commit is contained in:
parent
29457f0e46
commit
52b951f705
@ -94,7 +94,7 @@ ScriptView::ScriptView(
|
|||||||
};
|
};
|
||||||
|
|
||||||
button_del.on_select = [this, &nav](Button&) {
|
button_del.on_select = [this, &nav](Button&) {
|
||||||
nav.push<ModalMessageView>("Confirm", "Are you sure ?", YESNO,
|
nav.push<ModalMessageView>("Confirm", "Are you sure?", YESNO,
|
||||||
[this](bool choice) {
|
[this](bool choice) {
|
||||||
if (choice) {
|
if (choice) {
|
||||||
on_delete();
|
on_delete();
|
||||||
|
@ -45,7 +45,7 @@ void WipeSDView::focus() {
|
|||||||
dummy.focus();
|
dummy.focus();
|
||||||
|
|
||||||
if (!confirmed) {
|
if (!confirmed) {
|
||||||
nav_.push<ModalMessageView>("Warning !", "Wipe FAT of SD card ?", YESCANCEL, [this](bool choice) {
|
nav_.push<ModalMessageView>("Warning !", "Wipe FAT of SD card?", YESCANCEL, [this](bool choice) {
|
||||||
if (choice)
|
if (choice)
|
||||||
confirmed = true;
|
confirmed = true;
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,7 @@ void SystemStatusView::on_stealth() {
|
|||||||
|
|
||||||
void SystemStatusView::on_bias_tee() {
|
void SystemStatusView::on_bias_tee() {
|
||||||
if (!portapack::antenna_bias) {
|
if (!portapack::antenna_bias) {
|
||||||
nav_.display_modal("Bias voltage", "Enable DC voltage on\nantenna connector ?", YESNO, [this](bool v) {
|
nav_.display_modal("Bias voltage", "Enable DC voltage on\nantenna connector?", YESNO, [this](bool v) {
|
||||||
if (v) {
|
if (v) {
|
||||||
portapack::set_antenna_bias(true);
|
portapack::set_antenna_bias(true);
|
||||||
//radio::set_antenna_bias(true);
|
//radio::set_antenna_bias(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user