π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Enable lm
Manav Rathi963ac63898aa
diff --git a/web/apps/auth/src/pages/share.tsx b/web/apps/auth/src/pages/share.tsxindex e0829dd9d5..5f542394ce 100644--- a/web/apps/auth/src/pages/share.tsx+++ b/web/apps/auth/src/pages/share.tsx@@ -142,9 +142,7 @@ const Page: React.FC = () => {{timeStatus === 0 && (<Boxsx={(theme) => ({- backgroundColor: "#1c1c1e",- // TODO(LM): Uncomment- // backgroundColor: "background.elevatedPaper",+ backgroundColor: "background.elevatedPaper",...theme.applyStyles("dark", {backgroundColor: "#1c1c1e",}),@@ -157,9 +155,7 @@ const Page: React.FC = () => {sx={(theme) => ({width: "100%",height: "4px",- backgroundColor: "#333",- // TODO(LM): Uncomment- // backgroundColor: "#eee",+ backgroundColor: "#eee",...theme.applyStyles("dark", {backgroundColor: "#333",}),diff --git a/web/apps/photos/src/components/Sidebar/Preferences.tsx b/web/apps/photos/src/components/Sidebar/Preferences.tsxindex 615516d2ed..282a4aa873 100644--- a/web/apps/photos/src/components/Sidebar/Preferences.tsx+++ b/web/apps/photos/src/components/Sidebar/Preferences.tsx@@ -25,7 +25,6 @@ import {import { useSettingsSnapshot } from "@/new/photos/components/utils/use-snapshot";import { isMLSupported } from "@/new/photos/services/ml";import {- isInternalUser,syncSettings,updateCFProxyDisabledPreference,updateMapEnabled,@@ -69,7 +68,7 @@ export const Preferences: React.FC<NestedSidebarDrawerVisibilityProps> = ({/><Stack sx={{ px: "16px", py: "8px", gap: "24px" }}><LanguageSelector />- {isInternalUser() && <ThemeSelector />}+ <ThemeSelector /><Divider sx={{ my: "2px", opacity: 0.1 }} />{isMLSupported && (<RowButtonGroup>@@ -185,7 +184,6 @@ const ThemeSelector = () => {// During SSR, mode is always undefined.if (!mode) return null;- // TODO(LM): Enable for allreturn (<Stack sx={{ gap: 1 }}><Typography variant="small" sx={{ px: 1, color: "text.muted" }}>diff --git a/web/apps/photos/src/components/Sidebar/index.tsx b/web/apps/photos/src/components/Sidebar/index.tsxindex ebbc491071..c47507d2b3 100644--- a/web/apps/photos/src/components/Sidebar/index.tsx+++ b/web/apps/photos/src/components/Sidebar/index.tsx@@ -9,6 +9,7 @@ import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";import { SidebarDrawer } from "@/base/components/mui/SidebarDrawer";import { useIsSmallWidth } from "@/base/components/utils/hooks";import { useModalVisibility } from "@/base/components/utils/modal";+import { isDevBuild } from "@/base/env";import { ut } from "@/base/i18n";import log from "@/base/log";import { savedLogs } from "@/base/log-web";@@ -682,7 +683,7 @@ const DebugSection: React.FC = () => {return (<>- {isInternalUser() && (+ {isInternalUser() && isDevBuild && (<RowButtonvariant="secondary"label={ut("Test Upload")}