clean up pangea comments
This commit is contained in:
parent
9dce1a856d
commit
586b5350f4
1 changed files with 4 additions and 2 deletions
|
|
@ -81,16 +81,18 @@ class PinnedEvents extends StatelessWidget {
|
|||
icon: const Icon(Icons.push_pin),
|
||||
// #Pangea
|
||||
// tooltip: L10n.of(context).unpin,
|
||||
// onPressed: controller.room.canSendEvent(EventTypes.RoomPinnedEvents)
|
||||
// ? () => controller.unpinEvent(event!.eventId)
|
||||
// : null,
|
||||
tooltip:
|
||||
controller.room.canChangeStateEvent(EventTypes.RoomPinnedEvents)
|
||||
? L10n.of(context).unpin
|
||||
: null,
|
||||
// onPressed: controller.room.canSendEvent(EventTypes.RoomPinnedEvents)
|
||||
onPressed:
|
||||
controller.room.canChangeStateEvent(EventTypes.RoomPinnedEvents)
|
||||
// Pangea#
|
||||
? () => controller.unpinEvent(event!.eventId)
|
||||
: null,
|
||||
// Pangea#
|
||||
),
|
||||
onTap: () => _displayPinnedEventsDialog(context),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue