瀏覽代碼

add message password obligatory

marinofaggiana 6 年之前
父節點
當前提交
7bea292547
共有 2 個文件被更改,包括 3 次插入0 次删除
  1. 2 0
      iOSClient/Share/CCShareOC.m
  2. 1 0
      iOSClient/Supporting Files/en.lproj/Localizable.strings

+ 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