Compare commits
1 Commits
feature-su
...
feature-hi
| Author | SHA1 | Date | |
|---|---|---|---|
| af1163f6e0 |
@ -258,24 +258,27 @@ class HistoryItem extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Positioned(
|
videoItem.progress != 0
|
||||||
left: 3,
|
? Positioned(
|
||||||
right: 3,
|
left: 3,
|
||||||
bottom: 0,
|
right: 3,
|
||||||
child: ClipRRect(
|
bottom: 0,
|
||||||
borderRadius: BorderRadius.only(
|
child: ClipRRect(
|
||||||
bottomLeft:
|
borderRadius: BorderRadius.only(
|
||||||
Radius.circular(StyleString.imgRadius.x),
|
bottomLeft: Radius.circular(
|
||||||
bottomRight:
|
StyleString.imgRadius.x),
|
||||||
Radius.circular(StyleString.imgRadius.x),
|
bottomRight: Radius.circular(
|
||||||
),
|
StyleString.imgRadius.x),
|
||||||
child: LinearProgressIndicator(
|
),
|
||||||
value: videoItem.progress == -1
|
child: LinearProgressIndicator(
|
||||||
? 100
|
value: videoItem.progress == -1
|
||||||
: videoItem.progress / videoItem.duration,
|
? 100
|
||||||
),
|
: videoItem.progress /
|
||||||
),
|
videoItem.duration,
|
||||||
)
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
: const SizedBox()
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
VideoContent(videoItem: videoItem, ctr: ctr)
|
VideoContent(videoItem: videoItem, ctr: ctr)
|
||||||
|
|||||||
Reference in New Issue
Block a user