feat:更新好友菜谱功能
This commit is contained in:
@@ -74,7 +74,7 @@ class ProfileUserPageState extends State<ProfileUserPage> {
|
||||
index: currentTab.index,
|
||||
children: [
|
||||
MomentList(momentList: provider.momentList, isUser: false),
|
||||
Text('个人菜谱'),
|
||||
RecipeList(userId: provider.currentUser.id!),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -91,11 +91,11 @@ class ProfileUserPageState extends State<ProfileUserPage> {
|
||||
appBar: AppBar(
|
||||
title: Text(
|
||||
'${provider.currentUser.username}的个人信息',
|
||||
style: const TextStyle(color: Colors.white),
|
||||
style: Theme.of(context).textTheme.titleLarge,
|
||||
),
|
||||
backgroundColor: colors.primary,
|
||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back, color: Colors.white),
|
||||
icon: Icon(Icons.arrow_back, color: colors.primary),
|
||||
onPressed: () => Navigator.pop(context),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user