Explorar o código

add message password obligatory

marinofaggiana %!s(int64=6) %!d(string=hai) anos
pai
achega
7bea292547

+ 2 - 0
iOSClient/Share/CCShareOC.m

@@ -512,6 +512,8 @@
         // Public Password Enforced Test
         if (capabilities.isFilesSharingPublicPasswordEnforced == YES && password == nil) {
             
+            [appDelegate messageNotification:@"_share_link_" description:@"_password_obligatory_" visible:YES delay:k_dismissAfterSecond type:TWMessageBarMessageTypeError errorCode:k_CCErrorInternalError];
+
             [self reloadData];
             
         } else {

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

@@ -440,6 +440,7 @@
 "_share_type_group_"            = "Group";
 "_share_type_remote_"           = "Remote";
 "_enforce_password_protection_" = "Enforce password protection";
+"_password_obligatory_"         = "Enforce password protection enabled, password obligatory";
 
 // Share Permission