mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-06-30 18:53:01 -04:00
fix(flutter_desktop): fix calendar event bugs (#6446)
* fix: row controller being disposed too early in calendar * fix: empty accessories in calendar event card
This commit is contained in:
parent
19361e2c68
commit
092aefdd71
3 changed files with 28 additions and 13 deletions
|
@ -24,6 +24,10 @@ class CardAccessoryContainer extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (accessories.isEmpty) {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
|
||||
final children = accessories.map<Widget>((accessory) {
|
||||
return GestureDetector(
|
||||
behavior: HitTestBehavior.opaque,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue