浏览代码

fix UI/UX

marinofaggiana 5 年之前
父节点
当前提交
9f24f06882
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      iOSClient/Share/CCShareOC.m

+ 1 - 5
iOSClient/Share/CCShareOC.m

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