set default value of start property of mediaPage in Android kotlin code
This commit is contained in:
parent
3cb591fc5c
commit
94e39e8714
@ -359,7 +359,7 @@ class PhotoGalleryPlugin : FlutterPlugin, MethodCallHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return mapOf(
|
return mapOf(
|
||||||
"start" to skip,
|
"start" to (skip ?: 0),
|
||||||
"items" to media
|
"items" to media
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -378,7 +378,7 @@ class PhotoGalleryPlugin : FlutterPlugin, MethodCallHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return mapOf(
|
return mapOf(
|
||||||
"start" to skip,
|
"start" to (skip ?: 0),
|
||||||
"items" to media
|
"items" to media
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user