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,7 +435,7 @@ 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,
@ -446,6 +446,6 @@ class EventRenderer extends ConsumerWidget {
: EdgeInsets.symmetric(vertical: 8), : EdgeInsets.symmetric(vertical: 8),
child: child, child: child,
), ),
); ));
} }
} }