Pārlūkot izejas kodu

add placeholder to textview

cyberta 5 gadi atpakaļ
vecāks
revīzija
2f4c05eeb4
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      DcShare/Controller/ShareViewController.swift

+ 1 - 0
DcShare/Controller/ShareViewController.swift

@@ -54,6 +54,7 @@ class ShareViewController: SLComposeServiceViewController {
                 }
                 }
             }
             }
         }
         }
+        placeholder = String.localized("chat_input_placeholder")
 
 
         DispatchQueue.global(qos: .background).async {
         DispatchQueue.global(qos: .background).async {
             self.shareAttachment = ShareAttachment(dcContext: self.dcContext, inputItems: self.extensionContext?.inputItems, delegate: self)
             self.shareAttachment = ShareAttachment(dcContext: self.dcContext, inputItems: self.extensionContext?.inputItems, delegate: self)