Add NeoUI passcode configurator, duress mode profile, and Bluetooth OBEX UI

This commit is contained in:
Luxferre committed 2026-10-30 19:28:31 +02:00
1 parent 51a1a91d42
commit 62ac46e498
100 files changed
+2736 -240

No files matched your search

+8 -1
View File
@@ -708,7 +708,7 @@ int irc_run_main(int argc, char** argv) {
};
auto openWindow = [&]() {
if (isPhonePasscodeLocked()) return;
if (isDuressMode() || isPhonePasscodeLocked()) return;
writeIntFile(activePidPath, static_cast<int>(::getpid()));
closeOtherPlugins("irc");
visible = true;
@@ -740,6 +740,13 @@ int irc_run_main(int argc, char** argv) {
if (cmd == "NOP") continue;
if (cmd == "CLOSE") closeWindow();
else if (cmd == "RELOAD_THEME") {
if (isDuressMode()) {
for (size_t i = 0; i < servers.size(); ++i) {
disconnectServer(static_cast<int>(i));
}
closeWindow();
continue;
}
neo.reloadTheme();
if (visible) render();
} else if (cmd == "OPEN" || cmd.rfind("OPEN ", 0) == 0) {