mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 07:03:35 +00:00
[mob][photos] Chore
This commit is contained in:
parent
32293207bd
commit
ae81c73d5b
@ -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");
|
||||
},
|
||||
);
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user