mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt ui
Closes #1050 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -29,6 +29,7 @@ class UserInfoCard extends StatelessWidget {
|
||||
required this.onFollow,
|
||||
this.live,
|
||||
this.silence,
|
||||
required this.padding,
|
||||
});
|
||||
|
||||
final bool isOwner;
|
||||
@@ -38,6 +39,7 @@ class UserInfoCard extends StatelessWidget {
|
||||
final VoidCallback onFollow;
|
||||
final Live? live;
|
||||
final int? silence;
|
||||
final EdgeInsets padding;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -529,8 +531,12 @@ class UserInfoCard extends StatelessWidget {
|
||||
children: [
|
||||
// _buildHeader(context),
|
||||
const SizedBox(height: 56),
|
||||
SafeArea(
|
||||
bottom: false,
|
||||
Padding(
|
||||
padding: EdgeInsets.only(
|
||||
top: padding.top,
|
||||
left: padding.left,
|
||||
right: padding.right,
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
const SizedBox(width: 20),
|
||||
|
||||
Reference in New Issue
Block a user