making wallpapers random
Build and Release to Staging / Build Vision Start (push) Successful in 1m16s
Build and Release to Staging / Build Vision Start Image (push) Successful in 2m36s
Build and Release to Staging / Deploy Vision Start (staging) (push) Successful in 8s

This commit is contained in:
2026-08-10 10:05:04 -03:00
parent acd8369285
commit e08853fe54
5 changed files with 27 additions and 15 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ interface ConfigurationModalProps {
onSave: (config: Config) => void;
currentConfig: Config;
onWallpaperChange: (newConfig: Partial<Config>) => void;
onNextWallpaper: () => void;
onRandomWallpaper: () => void;
}
const ConfigurationModal: React.FC<ConfigurationModalProps> = ({
@@ -21,7 +21,7 @@ const ConfigurationModal: React.FC<ConfigurationModalProps> = ({
onSave,
currentConfig,
onWallpaperChange,
onNextWallpaper,
onRandomWallpaper,
}) => {
const [config, setConfig] = useState<Config>(currentConfig);
const [activeTab, setActiveTab] = useState('general');
@@ -177,7 +177,7 @@ const ConfigurationModal: React.FC<ConfigurationModalProps> = ({
onAddWallpaper={handleAddWallpaper}
onAddWallpaperFile={handleAddWallpaperFile}
onDeleteWallpaper={handleDeleteWallpaper}
onNextWallpaper={onNextWallpaper}
onRandomWallpaper={onRandomWallpaper}
/>
)}
{activeTab === 'clock' && (