Skip to content

Commit

Permalink
Fixed searchbar settings in imports filter
Browse files Browse the repository at this point in the history
  • Loading branch information
victrme committed Jun 21, 2022
1 parent 8179a4a commit 816039a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -2817,9 +2817,7 @@ function filterImports(data) {
updatedSb.engine = data.searchbar_engine ? data.searchbar_engine.replace('s_', '') : 'google'
}

// Add new searchbar settings >1.10.0
if (updatedSb.opacity === undefined) updatedSb.opacity = 0.1
if (updatedSb.request === undefined) updatedSb.request = ''
updatedSb = { ...updatedSb, ...sb }

return updatedSb
},
Expand Down

0 comments on commit 816039a

Please sign in to comment.