marinofaggiana 5 жил өмнө
parent
commit
d4a849893a

+ 3 - 1
iOSClient/Share/CCShareOC.m

@@ -309,7 +309,9 @@
             [self.itemsShareWith addObject:item];
             
             // shared with you by
-            self.labelSharedWithYouBy.text = [NSString stringWithFormat:@"%@ %@", NSLocalizedString(@"_shared_with_you_by_", nil), item.displayNameFileOwner];
+            if (![item.uidFileOwner isEqualToString:appDelegate.activeUserID]) {
+                self.labelSharedWithYouBy.text = [NSString stringWithFormat:@"%@ %@", NSLocalizedString(@"_shared_with_you_by_", nil), item.displayNameFileOwner];
+            }
         }
             
         section.footerTitle = NSLocalizedString(@"_user_sharee_footer_", nil);

+ 1 - 1
iOSClient/Supporting Files/en.lproj/Localizable.strings

@@ -462,7 +462,7 @@
 "_share_type_remote_"           = "Remote";
 "_enforce_password_protection_" = "Enforce password protection";
 "_password_obligatory_"         = "Enforce password protection enabled, password obligatory";
-"_shared_with_you_by_"          = "Share with you by";
+"_shared_with_you_by_"          = "Shared with you by";
 
 // Share Permission