hide-powered-by-me
This commit is contained in:
parent
738afb54d7
commit
294ffcd9d3
@ -2317,7 +2317,8 @@ List<String>? urlLinkToCmdArgs(Uri uri) {
|
||||
if (isMobile) {
|
||||
if (id != null) {
|
||||
final forceRelay = queryParameters["relay"] != null;
|
||||
connect(Get.context!, id, forceRelay: forceRelay, password: queryParameters["password"]);
|
||||
connect(Get.context!, id,
|
||||
forceRelay: forceRelay, password: queryParameters["password"]);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@ -3446,6 +3447,9 @@ Color? disabledTextColor(BuildContext context, bool enabled) {
|
||||
}
|
||||
|
||||
Widget loadPowered(BuildContext context) {
|
||||
if (bind.mainGetBuildinOption(key: "hide-powered-by-me") == 'Y') {
|
||||
return SizedBox.shrink();
|
||||
}
|
||||
return MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
|
Loading…
x
Reference in New Issue
Block a user