opt: member info widget

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-08 18:27:17 +08:00
parent 20c1112a10
commit 71daa6df29

View File

@@ -306,7 +306,7 @@ class UserInfoCard extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
const SizedBox(width: 20),
if (!isOwner)
if (!isOwner) ...[
IconButton.outlined(
onPressed: () {
if (GStorage.userInfo.get('userInfoCache') != null) {
@@ -338,7 +338,8 @@ class UserInfoCard extends StatelessWidget {
),
),
),
const SizedBox(width: 10),
const SizedBox(width: 10),
],
Expanded(
child: FilledButton.tonal(
onPressed: onFollow,