Merge branch 'fix'
This commit is contained in:
@ -196,7 +196,7 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: StreamBuilder(
|
||||
stream: titleStreamC.stream.distinct(),
|
||||
stream: titleStreamC.stream,
|
||||
initialData: false,
|
||||
builder: (context, AsyncSnapshot snapshot) {
|
||||
return AnimatedOpacity(
|
||||
|
@ -1,14 +1,13 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:pilipala/pages/dynamics/index.dart';
|
||||
import '../../../models/dynamics/result.dart';
|
||||
import 'action_panel.dart';
|
||||
import 'author_panel.dart';
|
||||
import 'content_panel.dart';
|
||||
import 'forward_panel.dart';
|
||||
|
||||
class DynamicPanel extends StatelessWidget {
|
||||
final DynamicItemModel item;
|
||||
final dynamic item;
|
||||
final String? source;
|
||||
DynamicPanel({required this.item, this.source, Key? key}) : super(key: key);
|
||||
final DynamicsController _dynamicsController = Get.put(DynamicsController());
|
||||
|
@ -80,14 +80,11 @@ Widget videoSeasonWidget(item, context, type, {floor = 1}) {
|
||||
double width = box.maxWidth;
|
||||
return Stack(
|
||||
children: [
|
||||
Hero(
|
||||
tag: content.bvid,
|
||||
child: NetworkImgLayer(
|
||||
type: floor == 1 ? 'emote' : null,
|
||||
width: width,
|
||||
height: width / StyleString.aspectRatio,
|
||||
src: content.cover,
|
||||
),
|
||||
NetworkImgLayer(
|
||||
type: floor == 1 ? 'emote' : null,
|
||||
width: width,
|
||||
height: width / StyleString.aspectRatio,
|
||||
src: content.cover,
|
||||
),
|
||||
if (content.badge != null && type == 'pgc')
|
||||
PBadge(
|
||||
|
Reference in New Issue
Block a user