mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
bump flutter (#859)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -84,16 +84,16 @@ class _PayCoinsPageState extends State<PayCoinsPage>
|
||||
|
||||
Color _getColorFilter(int index) {
|
||||
if (index == 1 && widget.hasCoin) {
|
||||
return Colors.black.withOpacity(0.4);
|
||||
return Colors.black.withValues(alpha: 0.4);
|
||||
}
|
||||
if (_coins == null) {
|
||||
return Colors.transparent;
|
||||
}
|
||||
if (index == 0 && _coins == 0) {
|
||||
return Colors.black.withOpacity(0.4);
|
||||
return Colors.black.withValues(alpha: 0.4);
|
||||
}
|
||||
if (index == 1 && _coins! < 2) {
|
||||
return Colors.black.withOpacity(0.4);
|
||||
return Colors.black.withValues(alpha: 0.4);
|
||||
}
|
||||
return Colors.transparent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user