Format
This commit is contained in:
parent
f66739491a
commit
fe82ad2002
|
@ -105,8 +105,9 @@ class DefaultInitialSyncProgressService @Inject constructor() : InitialSyncProgr
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline fun <T> reportSubtask(reporter: DefaultInitialSyncProgressService?, nameRes: Int
|
inline fun <T> reportSubtask(reporter: DefaultInitialSyncProgressService?,
|
||||||
, totalProgress: Int,
|
nameRes: Int,
|
||||||
|
totalProgress: Int,
|
||||||
parentWeight: Float = 1f,
|
parentWeight: Float = 1f,
|
||||||
block: () -> T): T {
|
block: () -> T): T {
|
||||||
reporter?.startTask(nameRes, totalProgress, parentWeight)
|
reporter?.startTask(nameRes, totalProgress, parentWeight)
|
||||||
|
|
Loading…
Reference in New Issue