mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 15:19:40 +00:00
Uses Inkwell instead of Gesture Detector for canvas widgets.
This commit is contained in:
@ -22,7 +22,7 @@ class _CreateSpaceButtonState extends State<CreateSpaceButton> {
|
||||
return Tooltip(
|
||||
margin: const EdgeInsets.symmetric(vertical: 24),
|
||||
message: 'Create a new space',
|
||||
child: GestureDetector(
|
||||
child: InkWell(
|
||||
onTap: () => SpaceDetailsDialogHelper.showCreate(
|
||||
context,
|
||||
communityUuid: widget.communityUuid,
|
||||
|
@ -17,7 +17,7 @@ class SpaceCell extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GestureDetector(
|
||||
return InkWell(
|
||||
onTap: onTap,
|
||||
child: Container(
|
||||
width: 150,
|
||||
|
Reference in New Issue
Block a user