Fix kotlin spotless check

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2023-12-05 14:04:34 +01:00
parent 982bda6347
commit 59b82b28bb
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

View file

@ -185,7 +185,7 @@ class StackRemoteViewsFactory(
}
}
@Suppress( "TooGenericExceptionCaught")
@Suppress("TooGenericExceptionCaught")
private fun loadIcon(widgetItem: DashboardWidgetItem, remoteViews: RemoteViews) {
val isIconSVG = Uri.parse(widgetItem.iconUrl).encodedPath!!.endsWith(".svg")
val source: FutureTarget<Bitmap> = if (isIconSVG) {