opt: 三连进度条样式&登录状态判断

This commit is contained in:
guozhigq
2024-06-10 00:58:04 +08:00
parent f2c029b6e5
commit a503d1bc5d

View File

@ -1,5 +1,3 @@
import 'dart:ffi';
import 'package:easy_debounce/easy_throttle.dart';
import 'package:expandable/expandable.dart';
import 'package:flutter/services.dart';
@ -566,7 +564,7 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
height: 68,
child: CircularProgressIndicator(
value: progress.value,
strokeWidth: 4,
strokeWidth: 2,
),
);
}
@ -583,6 +581,10 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
InkWell(
onTapDown: (details) {
feedBack();
if (videoIntroController.userInfo == null) {
SmartDialog.showToast('账号未登录');
return;
}
_controller.forward();
},
onTapUp: (TapUpDetails details) {