Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -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());
Expand All @@ -14,6 +14,6 @@ class Root extends StatefulWidget {
class _RootState extends State<Root> {
@override
Widget build(BuildContext context) {
return const MaterialApp(home: PersistedUriList());
return const MaterialApp(home: GrantedUrisPage());
}
}
4 changes: 2 additions & 2 deletions example/lib/screens/granted_uris/granted_uri_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -50,7 +50,7 @@ class _GrantedUriCardState extends State<GrantedUriCard> {
void _openListFilesPage() {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => FolderFileList(uri: widget.permissionUri.uri),
builder: (context) => FileExplorerPage(uri: widget.permissionUri.uri),
),
);
}
Expand Down