Merge branch 'main' of https://github.com/guozhigq/pilipala into guozhigq-main

This commit is contained in:
orz12
2024-01-22 10:22:19 +08:00
25 changed files with 341 additions and 201 deletions

View File

@@ -342,7 +342,8 @@ class VideoStat extends StatelessWidget {
maxLines: 1,
text: TextSpan(
style: TextStyle(
fontSize: Theme.of(context).textTheme.labelSmall!.fontSize,
fontSize: MediaQuery.textScalerOf(context)
.scale(Theme.of(context).textTheme.labelSmall!.fontSize),
color: Theme.of(context).colorScheme.outline,
),
text: Utils.formatTimestampToRelativeTime(videoItem.pubdate)),