fix favorites

This commit is contained in:
callebtc
2025-07-12 16:55:50 +02:00
parent d54d470614
commit ea25b71d6f
6 changed files with 87 additions and 12 deletions
@@ -1,5 +1,6 @@
package com.bitchat.android.ui
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.MutableLiveData
@@ -188,6 +189,7 @@ class ChatState {
}
fun setFavoritePeers(favorites: Set<String>) {
Log.d("ChatState", "setFavoritePeers called with ${favorites.size} favorites: $favorites")
_favoritePeers.value = favorites
}