diff --git a/lib/widgets/media_view.dart b/lib/pages/media_view.dart similarity index 96% rename from lib/widgets/media_view.dart rename to lib/pages/media_view.dart index ccc0b19..aae1f38 100644 --- a/lib/widgets/media_view.dart +++ b/lib/pages/media_view.dart @@ -5,12 +5,12 @@ import 'package:flutter/services.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:photo_view/photo_view.dart'; -import 'bottom_modal.dart'; +import '../widgets/bottom_modal.dart'; -class MediaView extends HookWidget { +class MediaViewPage extends HookWidget { final String url; - const MediaView(this.url); + const MediaViewPage(this.url); @override Widget build(BuildContext context) {