mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-18 09:21:27 +03:00
prefere MaterialStatePropertyAll to MaterialStateProperty.all and other fixes
This commit is contained in:
@@ -427,7 +427,7 @@ class ConnectionManager extends StatelessWidget {
|
||||
? ElevatedButton.icon(
|
||||
style: ButtonStyle(
|
||||
backgroundColor:
|
||||
MaterialStateProperty.all(Colors.red)),
|
||||
MaterialStatePropertyAll(Colors.red)),
|
||||
icon: const Icon(Icons.close),
|
||||
onPressed: () {
|
||||
bind.cmCloseConnection(connId: client.id);
|
||||
|
||||
Reference in New Issue
Block a user