From 580b606cbf63452275ecda831b25f0fdd5ffa55e Mon Sep 17 00:00:00 2001 From: lakscastro Date: Wed, 6 Jul 2022 11:29:19 -0300 Subject: [PATCH] (#70) Fix missing URLs --- example/lib/main.dart | 4 ++-- example/lib/screens/granted_uris/granted_uri_card.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 45e045c..03f0aec 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'screens/persisted_uris/persisted_uri_list.dart'; +import 'screens/granted_uris/granted_uris_page.dart'; /// TODO: Add examples using [Environment] and [MediaStore] API void main() => runApp(const Root()); @@ -14,6 +14,6 @@ class Root extends StatefulWidget { class _RootState extends State { @override Widget build(BuildContext context) { - return const MaterialApp(home: PersistedUriList()); + return const MaterialApp(home: GrantedUrisPage()); } } diff --git a/example/lib/screens/granted_uris/granted_uri_card.dart b/example/lib/screens/granted_uris/granted_uri_card.dart index 6887dce..55c3aa4 100644 --- a/example/lib/screens/granted_uris/granted_uri_card.dart +++ b/example/lib/screens/granted_uris/granted_uri_card.dart @@ -5,7 +5,7 @@ import '../../theme/spacing.dart'; import '../../widgets/buttons.dart'; import '../../widgets/key_value_text.dart'; import '../../widgets/simple_card.dart'; -import '../folder_files/folder_file_list.dart'; +import '../file_explorer/file_explorer_page.dart'; class GrantedUriCard extends StatefulWidget { const GrantedUriCard({ @@ -50,7 +50,7 @@ class _GrantedUriCardState extends State { void _openListFilesPage() { Navigator.of(context).push( MaterialPageRoute( - builder: (context) => FolderFileList(uri: widget.permissionUri.uri), + builder: (context) => FileExplorerPage(uri: widget.permissionUri.uri), ), ); }