Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ excluded:
- Sources/StreamChatUI/StreamNuke
- Sources/StreamChat/StreamStarscream
- Sources/StreamChatUI/StreamDifferenceKit
- UISDKdocumentation
- Tests
- Pods
- .build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import Foundation
import Nuke
import StreamChat
import StreamChatCommonUI
import StreamChatUI
import UIKit

Expand Down
1 change: 1 addition & 0 deletions DemoApp/Screens/DemoAppTabBarController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import Combine
import StreamChat
import StreamChatCommonUI
import StreamChatUI
import UIKit

Expand Down
1 change: 1 addition & 0 deletions DemoApp/Screens/DemoDraftMessageListVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

import StreamChat
import StreamChatCommonUI
import StreamChatUI
import UIKit

Expand Down
1 change: 1 addition & 0 deletions DemoApp/Screens/DemoReminderListVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

import StreamChat
import StreamChatCommonUI
import StreamChatUI
import UIKit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

import StreamChat
import StreamChatCommonUI
import StreamChatUI
import UIKit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//

import StreamChat
import StreamChatCommonUI
import StreamChatUI
import SwiftUI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Copyright © 2025 Stream.io Inc. All rights reserved.
//

import StreamChatCommonUI
import StreamChatUI
import UIKit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Copyright © 2025 Stream.io Inc. All rights reserved.
//

import StreamChatCommonUI
import StreamChatUI
import UIKit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import Foundation
import StreamChat
import StreamChatCommonUI
import StreamChatUI
import SwiftUI
import UIKit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import Foundation
import StreamChat
import StreamChatCommonUI
import StreamChatUI

extension ChatMessageLayoutOption {
Expand Down
1 change: 1 addition & 0 deletions DemoApp/StreamChat/StreamChatWrapper+DemoApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import Foundation
import StreamChat
import StreamChatCommonUI
import StreamChatUI

extension StreamChatWrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public extension Appearance {
/// - Parameter imageName: The required image name to load from the bundle
/// - Returns: A UIImage that is either the correct image from the bundle or backup circular image
private static func loadImageSafely(with imageName: String) -> UIImage {
if let image = UIImage(named: imageName, in: .streamChatUI) {
if let image = UIImage(named: imageName, in: .streamChatCommonUI) {
return image
} else {
log.error(
Expand Down Expand Up @@ -218,7 +218,7 @@ public extension Appearance {
get { _fileIcons ??
[AttachmentFileType: UIImage](
uniqueKeysWithValues: AttachmentFileType.allCases.compactMap {
guard let icon = UIImage(named: $0.rawValue, in: .streamChatUI) else { return nil }
guard let icon = UIImage(named: $0.rawValue, in: .streamChatCommonUI) else { return nil }
return ($0, icon)
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public struct Appearance: @unchecked Sendable {

/// Provider for custom localization which is dependent on App Bundle.
public var localizationProvider: @Sendable (_ key: String, _ table: String) -> String = { key, table in
Bundle.streamChatUI.localizedString(forKey: key, value: nil, table: table)
Bundle.streamChatCommonUI.localizedString(forKey: key, value: nil, table: table)
}

public init() {}
Expand Down
Loading
Loading