mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 09:41:29 +03:00
hide-powered-by-me
This commit is contained in:
@@ -2317,7 +2317,8 @@ List<String>? urlLinkToCmdArgs(Uri uri) {
|
|||||||
if (isMobile) {
|
if (isMobile) {
|
||||||
if (id != null) {
|
if (id != null) {
|
||||||
final forceRelay = queryParameters["relay"] != 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;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3446,6 +3447,9 @@ Color? disabledTextColor(BuildContext context, bool enabled) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget loadPowered(BuildContext context) {
|
Widget loadPowered(BuildContext context) {
|
||||||
|
if (bind.mainGetBuildinOption(key: "hide-powered-by-me") == 'Y') {
|
||||||
|
return SizedBox.shrink();
|
||||||
|
}
|
||||||
return MouseRegion(
|
return MouseRegion(
|
||||||
cursor: SystemMouseCursors.click,
|
cursor: SystemMouseCursors.click,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
|
|||||||
Reference in New Issue
Block a user