some indentation fixes in event renderer

This commit is contained in:
Henry Hiles 2026-05-19 22:57:04 -04:00
commit 922c624d4e
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -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,
), ),
); ));
} }
} }