Show a screen while the app migrates after an update

This commit is contained in:
AntsyLich
2026-10-07 22:22:32 +06:00
parent a6ee4bc596
commit fd4f73c908
7 changed files with 114 additions and 5 deletions
@@ -0,0 +1,12 @@
package mihon.domain.database.repository
import kotlinx.coroutines.flow.StateFlow
interface DatabaseRepository {
/**
* True while the database is being migrated from an older schema, which happens on its first use after an
* app update.
*/
val isMigrating: StateFlow<Boolean>
}