Skip to content

Commit a9754b0

Browse files
authored
Merge pull request #90 from anboralabs/icons
Fixed icon deprecated method.
2 parents b62f068 + 3706a8d commit a9754b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/co/anbora/labs/firebase/ide/icons/FirebaseIcons.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ object FirebaseIcons {
88
val FILE = getIcon("icon_file.svg")
99

1010
private fun getIcon(path: String): Icon {
11-
return IconLoader.findIcon("/icons/$path") as Icon
11+
return IconLoader.findIcon("/icons/$path", FirebaseIcons::class.java.classLoader) as Icon
1212
}
1313
}

0 commit comments

Comments
 (0)