Browse Source

#857 ( UI / UX )

marinofaggiana 5 years ago
parent
commit
a6e0e2d62f
1 changed files with 6 additions and 1 deletions
  1. 6 1
      iOSClient/Share/CCShareOC.m

+ 6 - 1
iOSClient/Share/CCShareOC.m

@@ -295,7 +295,12 @@
                 
             if (item.shareType == shareTypeGroup) row.title = [item.shareWithDisplayName stringByAppendingString:NSLocalizedString(@"_user_is_group_", nil)];
             else row.title = item.shareWithDisplayName;
-                
+            
+            //If the initiator or the recipient is not the current user, show the list of sharees without any options to edit it.
+            if (![item.uidOwner isEqualToString:appDelegate.activeUserID]) {
+                row.disabled = @YES;
+            }
+            
             [section addFormRow:row];
                 
             // add users