mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-16 01:00:17 +01:00
queue: invalidate keyset cursors on edits
This commit is contained in:
@@ -1094,6 +1094,7 @@ class QueueRepository(
|
||||
dao.insert(entries.mapIndexed { index, entry -> entry.copy(id = 0, position = index.toLong()) })
|
||||
}
|
||||
}
|
||||
keyCache.clear()
|
||||
queueVersion.incrementAndGet()
|
||||
}
|
||||
|
||||
@@ -1106,6 +1107,7 @@ class QueueRepository(
|
||||
)
|
||||
}
|
||||
}
|
||||
keyCache.clear()
|
||||
queueVersion.incrementAndGet()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user