mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 08:39:29 +00:00
Move more apps + language module (#1643)
* CoasterP to ext (Burger pager) * LGE to ext app * Solve compiler literal removal with centralizing common string literals.
This commit is contained in:
+2
-2
@@ -85,11 +85,11 @@ BLESpamView::BLESpamView(NavigationView& nav)
|
||||
if (is_running) {
|
||||
is_running = false;
|
||||
stop();
|
||||
button_startstop.set_text("Start");
|
||||
button_startstop.set_text(LanguageHelper::currentMessages[LANG_START]);
|
||||
} else {
|
||||
is_running = true;
|
||||
start();
|
||||
button_startstop.set_text("Stop");
|
||||
button_startstop.set_text(LanguageHelper::currentMessages[LANG_STOP]);
|
||||
}
|
||||
};
|
||||
chk_randdev.set_value(true);
|
||||
|
||||
+2
-1
@@ -28,6 +28,7 @@
|
||||
#define __UI_BLESPAM_H__
|
||||
|
||||
#include "ui.hpp"
|
||||
#include "ui_language.hpp"
|
||||
#include "ui_navigation.hpp"
|
||||
#include "ui_transmitter.hpp"
|
||||
#include "ui_freq_field.hpp"
|
||||
@@ -107,7 +108,7 @@ class BLESpamView : public View {
|
||||
|
||||
Button button_startstop{
|
||||
{0, 3 * 16, 96, 24},
|
||||
"Start"};
|
||||
LanguageHelper::currentMessages[LANG_START]};
|
||||
Checkbox chk_randdev{{100, 16}, 10, "Rnd device", true};
|
||||
|
||||
Console console{
|
||||
|
||||
Reference in New Issue
Block a user