added collections page
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
||||
|
||||
import '../model/collection.dart';
|
||||
import '../service/bookmarks_provider.dart';
|
||||
import '../service/share_intent_service.dart';
|
||||
import '../service/storage.dart';
|
||||
import '../widgets/create_bookmark_collection_dialog.dart';
|
||||
import 'bookmarks_page.dart';
|
||||
@@ -54,4 +55,18 @@ class _CollectionsPageState extends State<CollectionsPage> {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void didChangeDependencies() {
|
||||
super.didChangeDependencies();
|
||||
// Check if we received shared data
|
||||
final metadata =
|
||||
ModalRoute.of(context)?.settings.arguments as MapsLinkMetadata?;
|
||||
if (metadata != null) {
|
||||
// Handle the shared link
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
// _showSaveBookmarkDialog(metadata);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user