kopia lustrzana https://gitlab.com/mysocialportal/relatica
Make header wrap but need to figure out long term solution for open external button
rodzic
e001067f37
commit
f8cb7cd440
|
@ -35,9 +35,7 @@ class StatusHeaderControl extends StatelessWidget {
|
||||||
final reshareAuthor = getIt<ConnectionsManager>()
|
final reshareAuthor = getIt<ConnectionsManager>()
|
||||||
.getById(entry.reshareAuthorId)
|
.getById(entry.reshareAuthorId)
|
||||||
.getValueOrElse(() => Connection());
|
.getValueOrElse(() => Connection());
|
||||||
return Row(
|
return Wrap(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
children: [
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => goToProfile(context, author.id),
|
onTap: () => goToProfile(context, author.id),
|
||||||
|
@ -59,6 +57,7 @@ class StatusHeaderControl extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
ElapsedDateUtils.epochSecondsToString(
|
ElapsedDateUtils.epochSecondsToString(
|
||||||
|
@ -99,7 +98,9 @@ class StatusHeaderControl extends StatelessWidget {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
if (showOpenControl) ...[
|
if (showOpenControl) ...[
|
||||||
const Expanded(child: SizedBox()),
|
SizedBox(
|
||||||
|
width: 20.0,
|
||||||
|
),
|
||||||
buildActionBar(context),
|
buildActionBar(context),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
@ -108,6 +109,7 @@ class StatusHeaderControl extends StatelessWidget {
|
||||||
|
|
||||||
Widget buildActionBar(BuildContext context) {
|
Widget buildActionBar(BuildContext context) {
|
||||||
return Row(
|
return Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
|
|
Ładowanie…
Reference in New Issue