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