π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove updateComment method
ashilkn8e5e8438a5ec
diff --git a/mobile/apps/photos/lib/models/social/social_data_provider.dart b/mobile/apps/photos/lib/models/social/social_data_provider.dartindex ef07452df3..6a5b3b6686 100644--- a/mobile/apps/photos/lib/models/social/social_data_provider.dart+++ b/mobile/apps/photos/lib/models/social/social_data_provider.dart@@ -103,24 +103,6 @@ class SocialDataProvider {return comment;}- Comment? updateComment(String id, String newData) {- if (newData.trim().isEmpty) {- debugPrint('updateComment: Cannot update comment with empty data');- return null;- }- final existing = _comments[id];- if (existing == null) {- debugPrint('updateComment: Comment $id does not exist');- return null;- }- final updated = existing.copyWith(- data: newData,- updatedAt: DateTime.now().millisecondsSinceEpoch,- );- _comments[id] = updated;- return updated;- }-Comment? deleteComment(String id) {final existing = _comments[id];if (existing == null) {