浏览代码

new view share (comments)

marinofaggiana 5 年之前
父节点
当前提交
8109f8c19f

+ 3 - 3
iOSClient/Share/NCShare.storyboard

@@ -56,7 +56,7 @@
                                 <rect key="frame" x="0.0" y="244" width="409" height="618"/>
                                 <subviews>
                                     <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="249" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" clearButtonMode="always" translatesAutoresizingMaskIntoConstraints="NO" id="j5C-gO-XF8">
-                                        <rect key="frame" x="5" y="10" width="399" height="30"/>
+                                        <rect key="frame" x="10" y="10" width="389" height="30"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="30" id="Cia-Ws-3fQ"/>
                                         </constraints>
@@ -74,9 +74,9 @@
                                     <constraint firstItem="DFs-4t-iWX" firstAttribute="top" secondItem="j5C-gO-XF8" secondAttribute="bottom" constant="10" id="2W4-MV-Q3t"/>
                                     <constraint firstItem="j5C-gO-XF8" firstAttribute="top" secondItem="jzJ-Ra-l4b" secondAttribute="top" constant="10" id="FVU-Ra-LGp"/>
                                     <constraint firstItem="DFs-4t-iWX" firstAttribute="leading" secondItem="jzJ-Ra-l4b" secondAttribute="leading" constant="5" id="JN4-2m-lYt"/>
-                                    <constraint firstItem="j5C-gO-XF8" firstAttribute="leading" secondItem="jzJ-Ra-l4b" secondAttribute="leading" constant="5" id="TyF-h2-Kf2"/>
+                                    <constraint firstItem="j5C-gO-XF8" firstAttribute="leading" secondItem="jzJ-Ra-l4b" secondAttribute="leading" constant="10" id="TyF-h2-Kf2"/>
                                     <constraint firstAttribute="trailing" secondItem="DFs-4t-iWX" secondAttribute="trailing" id="ZcL-Ph-LOK"/>
-                                    <constraint firstAttribute="trailing" secondItem="j5C-gO-XF8" secondAttribute="trailing" constant="5" id="baS-fH-yjJ"/>
+                                    <constraint firstAttribute="trailing" secondItem="j5C-gO-XF8" secondAttribute="trailing" constant="10" id="baS-fH-yjJ"/>
                                     <constraint firstAttribute="bottom" secondItem="DFs-4t-iWX" secondAttribute="bottom" constant="10" id="ghq-O1-zbF"/>
                                 </constraints>
                             </view>

+ 2 - 0
iOSClient/Share/NCShareComments.swift

@@ -44,6 +44,8 @@ class NCShareComments: UIViewController, NCShareCommentsCellDelegate {
 
         tableView.register(UINib.init(nibName: "NCShareCommentsCell", bundle: nil), forCellReuseIdentifier: "cell")
 
+        newCommentField.placeholder = NSLocalizedString("_new_comment_", comment: "")
+
         reloadData()
     }
     

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

@@ -465,6 +465,7 @@
 "_password_obligatory_"         = "Enforce password protection enabled, password obligatory";
 "_shared_with_you_by_"          = "Shared with you by";
 "_shareLinksearch_placeholder_" = "Search for user or group...";
+"_new_comment_"                 = "New comment ...";
 
 // Share Permission