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,
|
spacing: 10.0,
|
||||||
runSpacing: 10.0,
|
runSpacing: 10.0,
|
||||||
children: [
|
children: [
|
||||||
if (notMyProfile) ...[
|
|
||||||
buildConnectionStatusToggle(
|
|
||||||
context, profile, connectionManager),
|
|
||||||
buildBlockToggle(context, profile, blocksManager),
|
|
||||||
],
|
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
onPressed: () => context.pushNamed(
|
onPressed: () => context.pushNamed(
|
||||||
ScreenPaths.userPosts,
|
ScreenPaths.userPosts,
|
||||||
|
@ -102,6 +97,18 @@ class _UserProfileScreenState extends State<UserProfileScreen> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const VerticalPadding(),
|
const VerticalPadding(),
|
||||||
|
Wrap(
|
||||||
|
spacing: 10.0,
|
||||||
|
runSpacing: 10.0,
|
||||||
|
children: [
|
||||||
|
if (notMyProfile) ...[
|
||||||
|
buildConnectionStatusToggle(
|
||||||
|
context, profile, connectionManager),
|
||||||
|
buildBlockToggle(context, profile, blocksManager),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
),
|
||||||
|
const VerticalPadding(),
|
||||||
HtmlTextViewerControl(
|
HtmlTextViewerControl(
|
||||||
content: profile.note,
|
content: profile.note,
|
||||||
onTapUrl: (url) async {
|
onTapUrl: (url) async {
|
||||||
|
|
Ładowanie…
Reference in New Issue