mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
历史消息添加群组按钮
This commit is contained in:
parent
5dfd06335a
commit
bf7296b404
26
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/Contents.json
vendored
Normal file
26
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/Contents.json
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "baseline_folder_open_black_24pt_1x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"filename" : "baseline_folder_open_black_24pt_2x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "baseline_folder_open_black_24pt_3x.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
},
|
||||
"properties" : {
|
||||
"template-rendering-intent" : "template"
|
||||
}
|
||||
}
|
||||
BIN
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/baseline_folder_open_black_24pt_1x.png
vendored
Normal file
BIN
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/baseline_folder_open_black_24pt_1x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 B |
BIN
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/baseline_folder_open_black_24pt_2x.png
vendored
Normal file
BIN
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/baseline_folder_open_black_24pt_2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 194 B |
BIN
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/baseline_folder_open_black_24pt_3x.png
vendored
Normal file
BIN
Bark/Assets.xcassets/baseline_folder_open_black_24pt.imageset/baseline_folder_open_black_24pt_3x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 259 B |
@ -40,6 +40,13 @@ class MessageListViewController: BaseViewController {
|
||||
return btn
|
||||
}()
|
||||
|
||||
let groupButton: BKButton = {
|
||||
let btn = BKButton()
|
||||
btn.setImage(UIImage(named: "baseline_folder_open_black_24pt"), for: .normal)
|
||||
btn.frame = CGRect(x: 0, y: 0, width: 40, height: 40)
|
||||
return btn
|
||||
}()
|
||||
|
||||
let tableView: UITableView = {
|
||||
let tableView = UITableView()
|
||||
tableView.separatorStyle = .none
|
||||
@ -56,7 +63,7 @@ class MessageListViewController: BaseViewController {
|
||||
override func makeUI() {
|
||||
self.title = NSLocalizedString("historyMessage")
|
||||
|
||||
navigationItem.setRightBarButtonItem(item: UIBarButtonItem(customView: deleteButton))
|
||||
navigationItem.setBarButtonItems(items: [UIBarButtonItem(customView: deleteButton), UIBarButtonItem(customView: groupButton)], left: false)
|
||||
|
||||
self.view.addSubview(tableView)
|
||||
tableView.snp.makeConstraints { (make) in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user