Skip to content

Commit

Permalink
added the check for hiding the button when configuration is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhijeetRanjan308 committed Dec 21, 2023
1 parent d4f1d22 commit c1b604a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ public class KMConversationListViewController: ALKBaseViewController, Localizabl
let darkTitleColor = kmConversationViewConfiguration.startNewConversationButtonDarkTextColor ?? kmConversationViewConfiguration.startNewConversationButtonTextColor
button.setTitleColor(UIColor.kmDynamicColor(light: kmConversationViewConfiguration.startNewConversationButtonTextColor, dark: darkTitleColor), for: .normal)
button.isUserInteractionEnabled = true
if configuration.hideBottomStartNewConversationButton {
button.isHidden = true
}
return button
}()

Expand Down

0 comments on commit c1b604a

Please sign in to comment.