removed unused text
This commit is contained in:
parent
a84e774dc0
commit
52f1e06257
@ -456,7 +456,7 @@ class _PrivilegeBoard extends StatefulWidget {
|
|||||||
class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
||||||
late final client = widget.client;
|
late final client = widget.client;
|
||||||
Widget buildPermissionIcon(bool enabled, IconData iconData,
|
Widget buildPermissionIcon(bool enabled, IconData iconData,
|
||||||
Function(bool)? onTap, String permissionText, String tooltipText) {
|
Function(bool)? onTap, String tooltipText) {
|
||||||
return Tooltip(
|
return Tooltip(
|
||||||
message: tooltipText,
|
message: tooltipText,
|
||||||
child: Container(
|
child: Container(
|
||||||
@ -522,7 +522,6 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
|||||||
client.keyboard = enabled;
|
client.keyboard = enabled;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
translate("Input Control"),
|
|
||||||
translate('Allow using keyboard and mouse'),
|
translate('Allow using keyboard and mouse'),
|
||||||
),
|
),
|
||||||
buildPermissionIcon(
|
buildPermissionIcon(
|
||||||
@ -535,7 +534,6 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
|||||||
client.clipboard = enabled;
|
client.clipboard = enabled;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
translate("Clipboard"),
|
|
||||||
translate('Allow using clipboard'),
|
translate('Allow using clipboard'),
|
||||||
),
|
),
|
||||||
buildPermissionIcon(
|
buildPermissionIcon(
|
||||||
@ -548,7 +546,6 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
|||||||
client.audio = enabled;
|
client.audio = enabled;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
translate("Audio"),
|
|
||||||
translate('Allow hearing sound'),
|
translate('Allow hearing sound'),
|
||||||
),
|
),
|
||||||
buildPermissionIcon(
|
buildPermissionIcon(
|
||||||
@ -561,7 +558,6 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
|||||||
client.file = enabled;
|
client.file = enabled;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
translate("File"),
|
|
||||||
translate('Allow file copy and paste'),
|
translate('Allow file copy and paste'),
|
||||||
),
|
),
|
||||||
buildPermissionIcon(
|
buildPermissionIcon(
|
||||||
@ -574,7 +570,6 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
|||||||
client.restart = enabled;
|
client.restart = enabled;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
translate("Restart"),
|
|
||||||
translate('Allow remote restart'),
|
translate('Allow remote restart'),
|
||||||
),
|
),
|
||||||
buildPermissionIcon(
|
buildPermissionIcon(
|
||||||
@ -587,7 +582,6 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> {
|
|||||||
client.recording = enabled;
|
client.recording = enabled;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
translate("Recording"),
|
|
||||||
translate('Allow recording session'),
|
translate('Allow recording session'),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user