File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,10 @@ export default async function loadPlugins(onlyTheme = false) {
5757 if ( onlyTheme && currentTheme ) {
5858 const pluginIdLower = pluginId . toLowerCase ( ) ;
5959 const currentThemeLower = currentTheme . toLowerCase ( ) ;
60- let matchFound = false ;
61- if ( pluginIdLower . includes ( currentThemeLower ) ) {
62- matchFound = true ;
63- }
64-
60+ const matchFound = pluginIdLower . includes ( currentThemeLower ) ;
61+ // Skip if:
62+ // 1. No match found with current theme AND
63+ // 2. It's not a theme plugin at all
6564 if ( ! matchFound && ! isThemePlugin ( pluginId ) ) {
6665 return ;
6766 }
Original file line number Diff line number Diff line change @@ -236,7 +236,6 @@ async function onDeviceReady() {
236236 setTimeout ( async ( ) => {
237237 document . body . removeAttribute ( "data-small-msg" ) ;
238238 app . classList . remove ( "loading" , "splash" ) ;
239- applySettings . afterRender ( ) ;
240239
241240 // load plugins
242241 try {
You can’t perform that action at this time.
0 commit comments