mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 17:16:29 +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,
|
||||
|
||||
Reference in New Issue
Block a user