Skip to content

Commit ef4dac8

Browse files
author
ggzgli
committed
Publish beta version 3.6.1
1 parent 13efce6 commit ef4dac8

151 files changed

Lines changed: 10225 additions & 3235 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

application/App-UIKit.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@
143143
knownRegions = (
144144
en,
145145
Base,
146+
ar,
147+
ja,
148+
"zh-Hans",
149+
"zh-Hant",
146150
);
147151
mainGroup = B3C8DD972E44C02400F7FE10;
148152
minimizedProjectReferenceProxies = 1;

application/App-UIKit/AppDelegate.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3131
name: Notification.Name("TUILoginSuccessNotification"),
3232
object: nil)
3333

34+
TUIGlobalization.enableLanguageHook()
35+
3436
return true
3537
}
3638

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "livekit_ic_add.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "universal",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"author" : "xcode",
19+
"version" : 1
20+
}
21+
}
221 Bytes
Loading

application/App-UIKit/Live/VideoLiveViewController.swift

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,10 @@ class VideoLiveViewController: UIViewController {
1515
private var currentStyle = LiveListViewStyle.doubleColumn
1616
private var cancellables = Set<AnyCancellable>()
1717

18-
private lazy var goLiveButton: UIButton = {
19-
let button = UIButton()
20-
button.layer.cornerRadius = 26.scale375()
21-
button.setImage(UIImage(named: "create_live"), for: .normal)
22-
button.setTitle(.goLiveText, for: .normal)
23-
button.addTarget(self, action: #selector(goLiveClick), for: .touchUpInside)
24-
button.titleLabel?.font = UIFont(name: "PingFangSC-Semibold", size: 20)
25-
button.backgroundColor = UIColor("1C66E5")
26-
27-
let spacing: CGFloat = 8
28-
button.imageEdgeInsets = UIEdgeInsets(top: 0, left: -spacing / 2, bottom: 0, right: spacing / 2)
29-
button.titleEdgeInsets = UIEdgeInsets(top: 0, left: spacing / 2, bottom: 0, right: -spacing / 2)
30-
return button
31-
}()
18+
private lazy var goLiveButton = AtomicButton(variant: .filled,
19+
colorType: .primary,
20+
size: .large,
21+
content: .iconLeading(text: .goLiveText, icon: UIImage(named: "livekit_ic_add")))
3222

3323
private lazy var liveListViewController = {
3424
return TUILiveListViewController()
@@ -77,7 +67,7 @@ extension VideoLiveViewController {
7767
navigationItem.scrollEdgeAppearance = appearance
7868

7969
let backBtn = UIButton(type: .custom)
80-
backBtn.setImage(UIImage(named: "back")?.withTintColor(.white), for: .normal)
70+
backBtn.setImage(UIImage(named: "back")?.rtlFlipped().withTintColor(.white), for: .normal)
8171
backBtn.addTarget(self, action: #selector(backBtnClick), for: .touchUpInside)
8272
backBtn.sizeToFit()
8373
let backItem = UIBarButtonItem(customView: backBtn)
@@ -106,6 +96,8 @@ extension VideoLiveViewController {
10696
}
10797

10898
private func bindInteraction() {
99+
goLiveButton.addTarget(self, action: #selector(goLiveClick), for: .touchUpInside)
100+
109101
ThemeStore.shared.$currentTheme
110102
.receive(on: DispatchQueue.main)
111103
.sink { [weak self] theme in

0 commit comments

Comments
 (0)