kopia lustrzana https://gitlab.com/mysocialportal/relatica
Rearrange profile buttons so that (un)follow and (un)block are on separate line
rodzic
6ede657c57
commit
3b1575a64f
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue