mod: member page title

This commit is contained in:
guozhigq
2024-10-31 00:10:25 +08:00
parent 4c05479ee8
commit c8bd564cf0
6 changed files with 36 additions and 4 deletions

View File

@ -56,7 +56,12 @@ class _MemberDynamicsPageState extends State<MemberDynamicsPage> {
appBar: AppBar(
titleSpacing: 0,
centerTitle: false,
title: Text('他的动态', style: Theme.of(context).textTheme.titleMedium),
title: Obx(
() => Text(
'${_memberDynamicController.isOwner.value ? '' : 'Ta'}的动态',
style: Theme.of(context).textTheme.titleMedium,
),
),
),
body: CustomScrollView(
controller: _memberDynamicController.scrollController,