Remove unused conversation view code

This commit is contained in:
Max Radermacher 2023-08-23 11:44:19 -05:00 committed by GitHub
parent bb7b62c320
commit 038ac625f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 28 deletions

View File

@ -254,26 +254,6 @@ public extension ConversationViewController {
extension ConversationViewController: ConversationSettingsViewDelegate {
public func conversationColorWasUpdated() {
AssertIsOnMainThread()
updateConversationStyle()
headerView.updateAvatar()
}
public func conversationSettingsDidUpdate() {
AssertIsOnMainThread()
Self.databaseStorage.write { transaction in
// We updated the group, so if there was a pending message request we should accept it.
ThreadUtil.addThreadToProfileWhitelistIfEmptyOrPendingRequest(
thread,
setDefaultTimerIfNecessary: true,
tx: transaction
)
}
}
public func conversationSettingsDidRequestConversationSearch() {
AssertIsOnMainThread()
@ -299,7 +279,7 @@ extension ConversationViewController: ConversationSettingsViewDelegate {
}
}
public func popAllConversationSettingsViews(completion: (() -> Void)?) {
private func popAllConversationSettingsViews(completion: (() -> Void)?) {
AssertIsOnMainThread()
guard let presentedViewController = presentedViewController else {

View File

@ -18,14 +18,7 @@ public enum ConversationSettingsPresentationMode: UInt {
// MARK: -
public protocol ConversationSettingsViewDelegate: AnyObject {
func conversationColorWasUpdated()
func conversationSettingsDidUpdate()
func conversationSettingsDidRequestConversationSearch()
func popAllConversationSettingsViews(completion: (() -> Void)?)
}
// MARK: -