Show a screen while the app migrates after an update
This commit is contained in:
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user