Update: Toast notification for updates, CMakeLists fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user