Use Long for subject instead of RealmObject

This commit is contained in:
moezbhatti
2019-10-25 00:50:36 -04:00
parent 200c8c975e
commit b573755b20
11 changed files with 20 additions and 34 deletions
@@ -58,17 +58,6 @@ class SyncRepositoryImpl @Inject constructor(
private val rxPrefs: RxSharedPreferences
) : SyncRepository {
/**
* Holds data that should be persisted across full syncs
*/
private data class PersistedData(
val id: Long,
val archived: Boolean,
val blocked: Boolean,
val pinned: Boolean,
val name: String
)
override val syncProgress: Subject<SyncRepository.SyncProgress> =
BehaviorSubject.createDefault(SyncRepository.SyncProgress.Idle())