avoid setting color with alpha,otherwise button flash bug will occur

This commit is contained in:
csf 2022-04-12 23:17:23 +08:00
parent a65e32f023
commit 21e64cce09

View File

@ -209,7 +209,7 @@ class _RemotePageState extends State<RemotePage> {
mini: !hideKeyboard, mini: !hideKeyboard,
child: Icon( child: Icon(
hideKeyboard ? Icons.expand_more : Icons.expand_less), hideKeyboard ? Icons.expand_more : Icons.expand_less),
backgroundColor: MyTheme.accent50, backgroundColor: MyTheme.accent,
onPressed: () { onPressed: () {
setState(() { setState(() {
if (hideKeyboard) { if (hideKeyboard) {