fix formatting
This commit is contained in:
parent
b6c3506126
commit
20efc3dbb6
|
@ -679,8 +679,11 @@ class _ChatState extends State<_Chat> {
|
||||||
child: Swipeable(
|
child: Swipeable(
|
||||||
key: ValueKey(i - 1),
|
key: ValueKey(i - 1),
|
||||||
background: Container(
|
background: Container(
|
||||||
color: Theme.of(context).primaryColor.withAlpha(100),
|
color: Theme.of(context)
|
||||||
padding: EdgeInsets.symmetric(horizontal: 12.0),
|
.primaryColor
|
||||||
|
.withAlpha(100),
|
||||||
|
padding: EdgeInsets.symmetric(
|
||||||
|
horizontal: 12.0),
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
|
@ -710,8 +713,8 @@ class _ChatState extends State<_Chat> {
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
setState(
|
setState(
|
||||||
() =>
|
() => selectedEvents
|
||||||
selectedEvents.add(event),
|
.add(event),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
selectedEvents.sort(
|
selectedEvents.sort(
|
||||||
|
@ -726,8 +729,8 @@ class _ChatState extends State<_Chat> {
|
||||||
context: context),
|
context: context),
|
||||||
longPressSelect:
|
longPressSelect:
|
||||||
selectedEvents.isEmpty,
|
selectedEvents.isEmpty,
|
||||||
selected: selectedEvents
|
selected: selectedEvents.contains(
|
||||||
.contains(filteredEvents[i - 1]),
|
filteredEvents[i - 1]),
|
||||||
timeline: timeline,
|
timeline: timeline,
|
||||||
nextEvent: i >= 2
|
nextEvent: i >= 2
|
||||||
? filteredEvents[i - 2]
|
? filteredEvents[i - 2]
|
||||||
|
|
Loading…
Reference in a new issue