fix
This commit is contained in:
parent
2c94ff01c5
commit
31ccb9a7d4
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class DashHistory @Inject constructor(
|
|||
resolvedAt: Long? = null
|
||||
): Single<Long> = Single.defer {
|
||||
var id: Long = 0
|
||||
if (dao.first() != null) {
|
||||
if (dao.first() == null) {
|
||||
id = currentTimeMillis()
|
||||
}
|
||||
when {
|
||||
|
|
Loading…
Reference in a new issue