Treat bottom view in share view as a target view to inject other views

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-02-28 21:15:53 +08:00
Родитель d23f30ae4e
Коммит 9b1ad4d6d5
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -19,6 +19,7 @@ class ShareViewController: NSViewController {
@IBOutlet weak var descriptionLabel: NSTextField! @IBOutlet weak var descriptionLabel: NSTextField!
@IBOutlet weak var closeButton: NSButton! @IBOutlet weak var closeButton: NSButton!
@IBOutlet weak var tableView: NSTableView! @IBOutlet weak var tableView: NSTableView!
@IBOutlet weak var optionsTargetView: NSView!
public override var nibName: NSNib.Name? { public override var nibName: NSNib.Name? {
return NSNib.Name(self.className) return NSNib.Name(self.className)

Просмотреть файл

@ -13,6 +13,7 @@
<outlet property="descriptionLabel" destination="gX0-nE-MrU" id="RoY-u1-1on"/> <outlet property="descriptionLabel" destination="gX0-nE-MrU" id="RoY-u1-1on"/>
<outlet property="fileNameIcon" destination="zSV-DV-Ray" id="336-e0-CEo"/> <outlet property="fileNameIcon" destination="zSV-DV-Ray" id="336-e0-CEo"/>
<outlet property="fileNameLabel" destination="slV-H6-zJ3" id="DPp-sN-Yff"/> <outlet property="fileNameLabel" destination="slV-H6-zJ3" id="DPp-sN-Yff"/>
<outlet property="optionsTargetView" destination="EXb-m8-yzj" id="gh6-JU-fnq"/>
<outlet property="tableView" destination="vb0-a6-eeH" id="KQo-eg-dba"/> <outlet property="tableView" destination="vb0-a6-eeH" id="KQo-eg-dba"/>
<outlet property="view" destination="Jw6-da-U8j" id="5Ek-F1-w7C"/> <outlet property="view" destination="Jw6-da-U8j" id="5Ek-F1-w7C"/>
</connections> </connections>