[mob][photos] Chore

This commit is contained in:
ashilkn 2024-11-25 20:20:23 +05:30
parent 32293207bd
commit ae81c73d5b
2 changed files with 0 additions and 6 deletions

View File

@ -505,7 +505,6 @@ class _HomeWidgetState extends State<HomeWidget> {
}
Future<void> _initDeepLinkSubscriptionForPublicAlbums() async {
// ... check initialUri
try {
final initialUri = await getInitialUri();
if (initialUri != null) {
@ -525,7 +524,6 @@ class _HomeWidgetState extends State<HomeWidget> {
_logger.severe("Error while getting initial public album deep link: $e");
}
// Attach a listener to the stream
_publicAlbumLinkSubscription = uriLinkStream.listen(
(Uri? uri) {
if (uri != null) {
@ -541,7 +539,6 @@ class _HomeWidgetState extends State<HomeWidget> {
}
},
onError: (err) {
// Handle exception by warning the user their action did not succeed
_logger.severe("Error while getting public album deep link: $err");
},
);

View File

@ -89,9 +89,6 @@ class FileViewerState extends State<FileViewer> {
Expanded(
child: Center(
child: (() {
_logger.info(
"path: sharedMediaFile: ${widget.sharedMediaFile?.path} action: ${action.data}",
);
if (action.type == MediaType.image ||
widget.sharedMediaFile?.type == SharedMediaType.image) {
return PhotoView(