diff --git a/src/features/background/options/sections/PhotoPackSettings.jsx b/src/features/background/options/sections/PhotoPackSettings.jsx index 815dfd28..c715955a 100644 --- a/src/features/background/options/sections/PhotoPackSettings.jsx +++ b/src/features/background/options/sections/PhotoPackSettings.jsx @@ -133,7 +133,9 @@ const PhotoPackSettings = ({ pack }) => { const renderField = (field, index) => { const value = - field.secure && settings[field.key] ? atob(settings[field.key]) : settings[field.key] || field.default; + field.secure && settings[field.key] + ? atob(settings[field.key]) + : settings[field.key] || field.default; switch (field.type) { case 'dropdown': diff --git a/src/features/background/options/sections/SourceSection.jsx b/src/features/background/options/sections/SourceSection.jsx index 92e95a55..3a226a92 100644 --- a/src/features/background/options/sections/SourceSection.jsx +++ b/src/features/background/options/sections/SourceSection.jsx @@ -18,16 +18,21 @@ const SourceSection = ({ onToggle, }) => { const showInstalledPhotoPacks = - backgroundType === 'photo_pack' && - marketplaceEnabled && - installedPhotoPacks.length > 0; + backgroundType === 'photo_pack' && marketplaceEnabled && installedPhotoPacks.length > 0; return ( <> - + @@ -60,7 +67,7 @@ const SourceSection = ({ onUninstall={onPhotoPackUninstall} viewType="grid" /> - + {/* Settings for API packs */} {installedPhotoPacks.map((pack) => pack.api_enabled ? : null,