mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
fix some glitches at managing favorites
This commit is contained in:
@ -49,8 +49,8 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
addFavorites(HashSet<String>(Arrays.asList(id)))
|
||||
}
|
||||
|
||||
private fun addFavorites(favs: Set<String>) {
|
||||
val currFavorites = HashSet<String>(favs)
|
||||
fun addFavorites(favs: Set<String>) {
|
||||
val currFavorites = HashSet<String>(favorites)
|
||||
currFavorites.addAll(favs)
|
||||
favorites = currFavorites
|
||||
}
|
||||
|
Reference in New Issue
Block a user