refactor: cleanup

This commit is contained in:
zhom
2026-08-06 14:39:53 -07:00
parent 39bbdcb547
commit f12a84e18f
49 changed files with 4555 additions and 377 deletions
+6 -1
View File
@@ -314,7 +314,12 @@ export default function Home() {
}
}, [cloudUser]);
const syncUnlocked = crossOsUnlocked || selfHostedSyncConfigured;
// Cloud sync follows `cloudBackup`, NOT `crossOsFingerprints`. They agreed on
// every plan until Solo, which buys 20 cloud backups and deliberately has no
// fingerprint editing — so deriving sync from the fingerprint capability put a
// Pro badge on the one feature a Solo customer is paying for.
const cloudBackupUnlocked = getEntitlements(cloudUser).cloudBackup;
const syncUnlocked = cloudBackupUnlocked || selfHostedSyncConfigured;
const [currentPage, setCurrentPage] = useState<AppPage>("profiles");
const [accountDialogOpen, setAccountDialogOpen] = useState(false);