mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-18 12:23:31 +00:00
Rearrange profile buttons so that (un)follow and (un)block are on separate line
This commit is contained in:
parent
6ede657c57
commit
3b1575a64f
1 changed files with 12 additions and 5 deletions
|
@ -83,11 +83,6 @@ class _UserProfileScreenState extends State<UserProfileScreen> {
|
|||
spacing: 10.0,
|
||||
runSpacing: 10.0,
|
||||
children: [
|
||||
if (notMyProfile) ...[
|
||||
buildConnectionStatusToggle(
|
||||
context, profile, connectionManager),
|
||||
buildBlockToggle(context, profile, blocksManager),
|
||||
],
|
||||
ElevatedButton(
|
||||
onPressed: () => context.pushNamed(
|
||||
ScreenPaths.userPosts,
|
||||
|
@ -102,6 +97,18 @@ class _UserProfileScreenState extends State<UserProfileScreen> {
|
|||
],
|
||||
),
|
||||
const VerticalPadding(),
|
||||
Wrap(
|
||||
spacing: 10.0,
|
||||
runSpacing: 10.0,
|
||||
children: [
|
||||
if (notMyProfile) ...[
|
||||
buildConnectionStatusToggle(
|
||||
context, profile, connectionManager),
|
||||
buildBlockToggle(context, profile, blocksManager),
|
||||
],
|
||||
],
|
||||
),
|
||||
const VerticalPadding(),
|
||||
HtmlTextViewerControl(
|
||||
content: profile.note,
|
||||
onTapUrl: (url) async {
|
||||
|
|
Loading…
Reference in a new issue