Skip to content

Commit

Permalink
【iOS】update to version 2.6.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tangjianing authored and AbySwifter committed Sep 27, 2024
1 parent b709b7a commit f96e91d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions iOS/Example/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import TUIRoomKit
import TIMPush

#if DEBUG
let businessID: Int32 = 0
let offlinePushBusinessID: Int32 = 0
#else
let businessID: Int32 = 0
let offlinePushBusinessID: Int32 = 0
#endif

@main
Expand Down Expand Up @@ -60,7 +60,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

extension AppDelegate: TIMPushDelegate {
func offlinePushCertificateID() -> Int32 {
return businessID
return offlinePushBusinessID
}

func onRemoteNotificationReceived(_ notice: String?) -> Bool {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class FloatChatMessageView: UIView {
}

private func getAttributedText(from message: FloatChatMessage) -> NSMutableAttributedString {
let userName = message.user.userName + ": "
var userName = message.user.userName.isEmpty ? message.user.userId : message.user.userName
userName = userName + ": "
let userNameAttributes: [NSAttributedString.Key: Any] = [.font: UIFont.systemFont(ofSize: 12),
.foregroundColor: UIColor.tui_color(withHex: "B2BBD1")]
let userNameAttributedText = NSMutableAttributedString(string: userName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,9 @@ extension ConferenceMainViewModel: ConferenceMainViewFactory {
func makeFloatChatButton() -> FloatChatButton {
let floatchatButton = FloatChatButton()
floatchatButton.isHidden = !store.shouldShowFloatChatView
if store.isEnteredRoom {
floatchatButton.updateRoomId(roomId: store.roomInfo.roomId)
}
return floatchatButton
}

Expand Down
2 changes: 1 addition & 1 deletion iOS/TUIRoomKit/TUIRoomKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |spec|
spec.name = 'TUIRoomKit'
spec.version = '2.6.0'
spec.version = '2.6.3'
spec.platform = :ios
spec.ios.deployment_target = '13.0'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down

0 comments on commit f96e91d

Please sign in to comment.