set default value of start property of mediaPage in Android kotlin code

This commit is contained in:
Wenqi Li 2023-06-12 00:32:10 +08:00
parent 3cb591fc5c
commit 94e39e8714

View File

@ -359,7 +359,7 @@ class PhotoGalleryPlugin : FlutterPlugin, MethodCallHandler {
}
return mapOf(
"start" to skip,
"start" to (skip ?: 0),
"items" to media
)
}
@ -378,7 +378,7 @@ class PhotoGalleryPlugin : FlutterPlugin, MethodCallHandler {
}
return mapOf(
"start" to skip,
"start" to (skip ?: 0),
"items" to media
)
}