Skip to content

Commit 692f0d3

Browse files
committed
Update .gitignore and modify EvilPortal to use dynamic button message
1 parent b211e1e commit 692f0d3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838
.gcc-flags.json
3939
.pio
4040

41-
# CLion
42-
.idea
41+
# IDE's
42+
.idea
43+
.vscode

src/modules/functions/WiFi/EvilPortal.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void EvilPortal::setupCaptivePortal() {
4242

4343
print::ClearScreen();
4444
print::WriteLine("Evil Portal", "Started", true);
45-
print::CenteredPrint("Press Btn B to Exit.", 1);
45+
print::CenteredPrint(Messages::bButton().c_str(), 1);
4646

4747
while (true) {
4848
dnsServer.processNextRequest();

src/modules/functions/WiFi/EvilPortal.h

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "helpers/buttons.h"
99
#include "helpers/print.h"
1010
#include "helpers/files.h"
11+
#include "modules/resources/Messages.h"
1112

1213
class EvilPortal {
1314
public:

0 commit comments

Comments
 (0)