Add experimental flag in settings ui

This commit is contained in:
problematicconsumer
2023-12-29 15:35:01 +03:30
parent 6a9892e847
commit 81c069643b
8 changed files with 64 additions and 7 deletions

View File

@@ -25,7 +25,8 @@ enum ServiceMode {
String present(TranslationsEn t) => switch (this) {
proxy => t.settings.config.serviceModes.proxy,
systemProxy => t.settings.config.serviceModes.systemProxy,
tun => t.settings.config.serviceModes.tun,
tun =>
"${t.settings.config.serviceModes.tun}${PlatformUtils.isDesktop ? " (${t.settings.experimental})" : ""}",
};
}