Add NeoUI passcode configurator, duress mode profile, and Bluetooth OBEX UI
This commit is contained in:
1 parent
51a1a91d42
commit
62ac46e498
100 files changed
+2736
-240
No files matched your search
@@ -198,10 +198,10 @@ int runContactsApp(int argc, char** argv) {
|
||||
}
|
||||
};
|
||||
|
||||
auto reloadContactsIfNeeded = [&]() -> bool {
|
||||
auto reloadContactsIfNeeded = [&](bool force = false) -> bool {
|
||||
bool cChanged = contactsStamp.checkAndUpdate(getContactsFilePath());
|
||||
bool lChanged = logStamp.checkAndUpdate(getModemLogFilePath());
|
||||
if (cChanged || lChanged || !contactsLoadedOnce) {
|
||||
if (force || cChanged || lChanged || !contactsLoadedOnce) {
|
||||
contactsLoadedOnce = true;
|
||||
book.load();
|
||||
updateFilter();
|
||||
@@ -984,6 +984,11 @@ int runContactsApp(int argc, char** argv) {
|
||||
};
|
||||
|
||||
auto beginSimOperation = [&](SimOp op) {
|
||||
if (isDuressMode()) {
|
||||
setStatus("SIM contacts unavailable", true);
|
||||
render();
|
||||
return;
|
||||
}
|
||||
pendingSimOp = op;
|
||||
prevModeBeforeSim =
|
||||
(op == SimOp::ExportSingle) ? ViewMode::Detail : ViewMode::List;
|
||||
@@ -1142,6 +1147,7 @@ int runContactsApp(int argc, char** argv) {
|
||||
} else if (cmd == "RELOAD_THEME") {
|
||||
theme.load(dpy, screen, visual, cmap, layoutMain, layoutSmall,
|
||||
layoutIcon, nullptr, win);
|
||||
reloadContactsIfNeeded(true);
|
||||
render();
|
||||
} else if (cmd == "OPEN") {
|
||||
showWindow("");
|
||||
|
||||
Reference in new issue
Block a user