File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export default function Item({
2323 downloads,
2424 installed,
2525} ) {
26+ console . log ( `ICON ${ icon } ` )
2627 const authorName = ( ( ) => {
2728 const displayName =
2829 typeof author === "object" ? author . name : author || "Unknown" ;
Original file line number Diff line number Diff line change @@ -338,8 +338,7 @@ export default function PluginsInclude(updates) {
338338 if ( ! ( ( updates && updates . includes ( id ) ) || ! updates ) ) return ;
339339 const url = Url . join ( item . url , "plugin.json" ) ;
340340 const plugin = await fsOperation ( url ) . readFile ( "json" ) ;
341- const iconUrl = getLocalRes ( id , plugin . icon ) ;
342- plugin . icon = await helpers . toInternalUri ( iconUrl ) ;
341+ plugin . icon = Capacitor . convertFileSrc ( getLocalRes ( id , plugin . icon ) )
343342 plugin . installed = true ;
344343 plugins . installed . push ( plugin ) ;
345344 if ( $list . installed . get ( `[data-id="${ id } "]` ) ) return ;
You can’t perform that action at this time.
0 commit comments