opt: coin pic

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-11 18:20:19 +08:00
parent b68bebfa2e
commit e8185535b0
3 changed files with 5 additions and 5 deletions

View File

@@ -173,7 +173,7 @@ class BangumiIntroController
}
if (_coinNum.value >= 2) {
SmartDialog.showToast('超过投币上限啦~');
SmartDialog.showToast('达到投币上限啦~');
return;
}

View File

@@ -350,7 +350,7 @@ class VideoIntroController extends GetxController
}
if (_coinNum.value >= 2) {
SmartDialog.showToast('超过投币上限啦~');
SmartDialog.showToast('达到投币上限啦~');
return;
}

View File

@@ -84,16 +84,16 @@ class _PayCoinsPageState extends State<PayCoinsPage>
Color _getColorFilter(int index) {
if (index == 1 && widget.hasCoin) {
return Colors.black45;
return Colors.black.withOpacity(0.4);
}
if (_coins == null) {
return Colors.transparent;
}
if (index == 0 && _coins == 0) {
return Colors.black45;
return Colors.black.withOpacity(0.4);
}
if (index == 1 && _coins! < 2) {
return Colors.black45;
return Colors.black.withOpacity(0.4);
}
return Colors.transparent;
}