avoid setting color with alpha,otherwise button flash bug will occur
This commit is contained in:
parent
a65e32f023
commit
21e64cce09
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user