forked from upstream-mirrors/quik
@@ -25,7 +25,7 @@ import io.reactivex.Observable
|
||||
interface SyncRepository {
|
||||
|
||||
sealed class SyncProgress {
|
||||
class Idle : SyncProgress()
|
||||
object Idle : SyncProgress()
|
||||
data class Running(val max: Int, val progress: Int, val indeterminate: Boolean) : SyncProgress()
|
||||
}
|
||||
|
||||
@@ -37,11 +37,4 @@ interface SyncRepository {
|
||||
|
||||
fun syncContacts()
|
||||
|
||||
/**
|
||||
* Syncs a single contact to the Realm
|
||||
*
|
||||
* Return false if the contact couldn't be found
|
||||
*/
|
||||
fun syncContact(address: String): Boolean
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user