mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: dyn author panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -286,17 +286,20 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
|
||||
return Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: AppBar(
|
||||
title: Obx(
|
||||
() {
|
||||
return AnimatedOpacity(
|
||||
opacity: _visibleTitle.value ? 1 : 0,
|
||||
duration: const Duration(milliseconds: 300),
|
||||
child: AuthorPanel(
|
||||
item: _dynamicDetailController.item,
|
||||
source: 'detail', //to remove tag
|
||||
),
|
||||
);
|
||||
},
|
||||
title: Padding(
|
||||
padding: const EdgeInsets.only(right: 12),
|
||||
child: Obx(
|
||||
() {
|
||||
return AnimatedOpacity(
|
||||
opacity: _visibleTitle.value ? 1 : 0,
|
||||
duration: const Duration(milliseconds: 300),
|
||||
child: AuthorPanel(
|
||||
item: _dynamicDetailController.item,
|
||||
source: 'detail', //to remove tag
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
actions: context.orientation == Orientation.landscape
|
||||
? [
|
||||
|
||||
Reference in New Issue
Block a user