mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
982bda6347
commit
59b82b28bb
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue