diff --git a/lib/folder_views/note_tile.dart b/lib/folder_views/note_tile.dart index acacf4e0..6f0c6599 100644 --- a/lib/folder_views/note_tile.dart +++ b/lib/folder_views/note_tile.dart @@ -69,24 +69,14 @@ class NoteTile extends StatelessWidget { ); const borderRadius = BorderRadius.all(Radius.circular(8)); - var tile = Material( + return Material( borderRadius: borderRadius, type: MaterialType.card, - child: tileContent, - ); - - /*var tile = Container( - decoration: BoxDecoration( - border: Border.all(color: Colors.grey[200]), - color: Colors.white, - borderRadius: borderRadius, - child: tileContent, - );*/ - - return InkWell( - child: tile, - borderRadius: borderRadius, - onTap: () => noteSelectedFunction(note), + child: InkWell( + child: tileContent, + borderRadius: borderRadius, + onTap: () => noteSelectedFunction(note), + ), ); } }