some indentation fixes in event renderer
This commit is contained in:
parent
5c6cc1d584
commit
922c624d4e
1 changed files with 12 additions and 12 deletions
|
|
@ -435,17 +435,17 @@ class EventRenderer extends ConsumerWidget {
|
||||||
? textOnly
|
? textOnly
|
||||||
? Text("Unknown event type", style: errorStyle)
|
? Text("Unknown event type", style: errorStyle)
|
||||||
: SizedBox.shrink()
|
: SizedBox.shrink()
|
||||||
: textOnly
|
: (textOnly
|
||||||
? child
|
? child
|
||||||
: GestureDetector(
|
: GestureDetector(
|
||||||
onSecondaryTapUp: contextMenuCallback,
|
onSecondaryTapUp: contextMenuCallback,
|
||||||
onLongPressStart: contextMenuCallback,
|
onLongPressStart: contextMenuCallback,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: isGrouped
|
padding: isGrouped
|
||||||
? EdgeInsets.zero
|
? EdgeInsets.zero
|
||||||
: EdgeInsets.symmetric(vertical: 8),
|
: EdgeInsets.symmetric(vertical: 8),
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue