Update: Toast notification for updates, CMakeLists fix

This commit is contained in:
Umbrix Admin
2026-01-20 12:56:19 +03:00
parent 2fe66e65c1
commit 0b46de4fa8
414 changed files with 1176 additions and 6 deletions

View File

@@ -35,6 +35,13 @@ enum ServiceMode {
_ => false,
};
String presentDetailed(TranslationsEn t) => switch (this) {
proxy => t.config.serviceModesDesc.proxy,
systemProxy => t.config.serviceModesDesc.systemProxy,
tun => t.config.serviceModesDesc.tun,
tunService => t.config.serviceModesDesc.tunService,
};
String present(TranslationsEn t) => switch (this) {
proxy => t.config.serviceModes.proxy,
systemProxy => t.config.serviceModes.systemProxy,