This commit is contained in:
Albert Vaca Cintora
2025-12-06 21:06:56 +01:00
parent d37e7e1e49
commit bf9663fd45

View File

@@ -84,7 +84,7 @@ internal class RunCommandWidgetDataProvider(private val context: Context, val in
}
override fun getItemId(i: Int): Long {
return getPlugin()?.commandItems?.get(i)?.key?.hashCode()?.toLong() ?: 0
return getPlugin()?.commandItems?.getOrNull(i)?.key?.hashCode()?.toLong() ?: 0
}
override fun hasStableIds(): Boolean {