From 3c5e376956eeb7a326ece8aaf928963fece58caf Mon Sep 17 00:00:00 2001 From: Abestanis Date: Sat, 13 Jul 2024 14:40:48 +0200 Subject: [PATCH] Use correct type for songIds argument of setSongsFavorite (#133) --- .../kotlin/com/nt4f04und/sweyer/sweyer_plugin/SweyerPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweyer_plugin/android/src/main/kotlin/com/nt4f04und/sweyer/sweyer_plugin/SweyerPlugin.kt b/sweyer_plugin/android/src/main/kotlin/com/nt4f04und/sweyer/sweyer_plugin/SweyerPlugin.kt index ed1a57396..b7eaa7430 100644 --- a/sweyer_plugin/android/src/main/kotlin/com/nt4f04und/sweyer/sweyer_plugin/SweyerPlugin.kt +++ b/sweyer_plugin/android/src/main/kotlin/com/nt4f04und/sweyer/sweyer_plugin/SweyerPlugin.kt @@ -221,7 +221,7 @@ class SweyerPlugin : FlutterPlugin, MethodCallHandler, ActivityAware, ActivityRe if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { this.result = result val value = call.argument("value")!! - val songIds = call.argument>>("songIds")!! + val songIds = call.argument>("songIds")!! val uris = ArrayList() for (songId in songIds) { val id = getLong(songId)