app/src/main/java/com/github/factotum_sdp/factotum/repositories/ContactsRepository.kt
Method getContacts
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
fun getContacts(): Flow<List<Contact>> {
return callbackFlow {
val sharedPrefsContacts =
getCachedContacts() // Get the contacts from the shared preferences
if (sharedPrefsContacts.isNotEmpty()) {