Merge pull request #4500 from 21pages/fix_cm_overflow

fix cm permission icon overflow
This commit is contained in:
RustDesk 2023-05-29 16:18:29 +08:00 committed by GitHub
commit 92b46737c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -472,11 +472,12 @@ class _PrivilegeBoardState extends State<_PrivilegeBoard> {
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround, mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [ children: [
Icon( Expanded(
child: Icon(
iconData, iconData,
size: 30.0,
color: Colors.white, color: Colors.white,
), ),
),
Text( Text(
enabled ? "ON" : "OFF", enabled ? "ON" : "OFF",
textAlign: TextAlign.center, textAlign: TextAlign.center,