Skip to content

Commit

Permalink
update project
Browse files Browse the repository at this point in the history
  • Loading branch information
kidozh committed Nov 28, 2024
1 parent 90ee923 commit 976a822
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/JsonResult/BilibiliVideoResult.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class BilibiliVideoViewData{
int pubdate = 0, ctime = 0;
String desc = "";
int state = 0;
int duration = 0, mission_id=0;
int duration = 0;

BilibiliVideoViewDataOwner owner = BilibiliVideoViewDataOwner();

Expand Down
2 changes: 0 additions & 2 deletions lib/JsonResult/BilibiliVideoResult.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions lib/widget/BilibiliWidget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class BilibiliState extends State<BilibiliWidget> {
child: Row(
children: [
Expanded(
flex: 4,
flex: 6,
child: CachedNetworkImage(
imageUrl: videoResult.data.viewData.pic),
),
Expand All @@ -180,7 +180,7 @@ class BilibiliState extends State<BilibiliWidget> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
RichText(
maxLines: 2,
maxLines: 3,
overflow: TextOverflow.ellipsis,
text: TextSpan(children: [
WidgetSpan(
Expand Down Expand Up @@ -222,7 +222,7 @@ class BilibiliState extends State<BilibiliWidget> {
color: Theme.of(context)
.colorScheme
.onPrimaryContainer,
fontSize: 18)),
fontSize: 16)),
]),
),
SizedBox(
Expand All @@ -237,8 +237,8 @@ class BilibiliState extends State<BilibiliWidget> {
padding: EdgeInsets.zero,
margin: EdgeInsets.only(top: 8,right: 8),
child: SizedBox(
width: 18,
height: 18,
width: 16,
height: 16,
child: CircleAvatar(
backgroundImage:
CachedNetworkImageProvider(
Expand All @@ -252,7 +252,7 @@ class BilibiliState extends State<BilibiliWidget> {
TextSpan(
text: videoResult.data.viewData.owner.name,
style: TextStyle(
fontSize: 16,
fontSize: 14,
color: Theme.of(context)
.colorScheme
.onPrimaryContainer,
Expand Down

0 comments on commit 976a822

Please sign in to comment.