mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 17:46:24 +08:00
@@ -79,7 +79,7 @@ class _DynamicsPageState extends State<DynamicsPage>
|
||||
|
||||
Widget upPanelPart(ThemeData theme) {
|
||||
bool isTop = upPanelPosition == UpPanelPosition.top;
|
||||
bool needBg = isTop || upPanelPosition.index > 1;
|
||||
bool needBg = upPanelPosition.index > 1;
|
||||
return Material(
|
||||
color: needBg ? theme.colorScheme.surface : null,
|
||||
type: needBg ? MaterialType.canvas : MaterialType.transparency,
|
||||
|
||||
@@ -11,6 +11,7 @@ import 'package:PiliPlus/pages/dynamics/widgets/live_panel.dart';
|
||||
import 'package:PiliPlus/pages/dynamics/widgets/live_panel_sub.dart';
|
||||
import 'package:PiliPlus/pages/dynamics/widgets/live_rcmd_panel.dart';
|
||||
import 'package:PiliPlus/pages/dynamics/widgets/video_panel.dart';
|
||||
import 'package:PiliPlus/utils/extension.dart';
|
||||
import 'package:PiliPlus/utils/page_utils.dart';
|
||||
import 'package:PiliPlus/utils/utils.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
@@ -228,7 +229,8 @@ Widget module(
|
||||
width: 45,
|
||||
height: 45,
|
||||
fit: BoxFit.cover,
|
||||
imageUrl: item.modules.moduleDynamic!.major!.common!.cover!,
|
||||
imageUrl: item.modules.moduleDynamic!.major!.common!.cover!
|
||||
.http2https,
|
||||
),
|
||||
Expanded(
|
||||
child: Column(
|
||||
|
||||
@@ -204,7 +204,7 @@ class PercentageChip extends StatelessWidget {
|
||||
labelPadding: EdgeInsets.zero,
|
||||
padding: EdgeInsets.zero,
|
||||
showCheckmark: false,
|
||||
clipBehavior: Clip.antiAlias,
|
||||
clipBehavior: Clip.hardEdge,
|
||||
label: Stack(
|
||||
clipBehavior: Clip.none,
|
||||
alignment: Alignment.center,
|
||||
|
||||
Reference in New Issue
Block a user