properly update the font size without restarting the app
This commit is contained in:
parent
6d0dd67af3
commit
880dd7bf27
2 changed files with 11 additions and 0 deletions
|
|
@ -174,6 +174,11 @@ class ConversationsAdapter(activity: SimpleActivity, var conversations: ArrayLis
|
|||
}
|
||||
}
|
||||
|
||||
fun updateFontSize() {
|
||||
fontSize = activity.getTextSize()
|
||||
notifyDataSetChanged()
|
||||
}
|
||||
|
||||
fun updateConversations(newConversations: ArrayList<Conversation>) {
|
||||
val oldHashCode = conversations.hashCode()
|
||||
val newHashCode = newConversations.hashCode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue