Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][contacts] fix photos lint drift after restack

Neeraj Guptaa4e26f0cb4ac
diff --git a/mobile/apps/photos/pubspec.lock b/mobile/apps/photos/pubspec.lock
index 8a0efa60ea..9981db42fe 100644
--- a/mobile/apps/photos/pubspec.lock
+++ b/mobile/apps/photos/pubspec.lock
@@ -594,13 +594,6 @@ packages:
relative: true
source: path
version: "0.0.1"
- ente_cast_normal:
- dependency: "direct main"
- description:
- path: "plugins/ente_cast_normal"
- relative: true
- source: path
- version: "0.0.1"
ente_contacts:
dependency: "direct main"
description:
diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yaml
index 0749544457..2bb3cc1e53 100644
--- a/mobile/apps/photos/pubspec.yaml
+++ b/mobile/apps/photos/pubspec.yaml
@@ -56,8 +56,6 @@ dependencies:
encrypt: 5.0.3
ente_cast:
path: plugins/ente_cast
- ente_cast_normal:
- path: plugins/ente_cast_normal
ente_contacts:
path: ../../packages/contacts
ente_crypto:
diff --git a/mobile/packages/contacts/lib/src/rust/contacts_rust_api.dart b/mobile/packages/contacts/lib/src/rust/contacts_rust_api.dart
index c72721079f..1bb5c07bde 100644
--- a/mobile/packages/contacts/lib/src/rust/contacts_rust_api.dart
+++ b/mobile/packages/contacts/lib/src/rust/contacts_rust_api.dart
@@ -225,7 +225,7 @@ class _FrbContactsRustContext implements ContactsRustContext {
ContactAttachmentType attachmentType,
String attachmentId,
) {
- return _inner.getAttachment(
+ return _inner.getAttachmentEncrypted(
attachmentType: _toRustAttachmentType(attachmentType),
attachmentId: attachmentId,
);