π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[desktop] Keep Add folder available while watches load
AswinAsoka0206b3e3f12
diff --git a/web/apps/photos/src/components/sidebar/WatchFolder.tsx b/web/apps/photos/src/components/sidebar/WatchFolder.tsxindex 45271f9790..7b863cd877 100644--- a/web/apps/photos/src/components/sidebar/WatchFolder.tsx+++ b/web/apps/photos/src/components/sidebar/WatchFolder.tsx@@ -166,26 +166,20 @@ export const WatchFolder: React.FC<NestedSidebarDrawerVisibilityProps> = ({<WatchList{...{ watches, removeWatch, refreshWatches }}/>- {!!watches?.length && (- <>- <Divider sx={{ opacity: 0.4 }} />- <RowCard- title={- <Box- component="span"- sx={{ color: "accent.main" }}- >- {t("add_folder")}- </Box>- }- subtitle={ut(- "Choose a folder to watch",- )}- onClick={addNewWatch}- />- <Divider sx={{ opacity: 0.4 }} />- </>- )}+ <Divider sx={{ opacity: 0.4 }} />+ <RowCard+ title={+ <Box+ component="span"+ sx={{ color: "accent.main" }}+ >+ {t("add_folder")}+ </Box>+ }+ subtitle={ut("Choose a folder to watch")}+ onClick={addNewWatch}+ />+ <Divider sx={{ opacity: 0.4 }} /></Stack>)}</Stack>