mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-08-11 13:40:19 +02:00
refactor: cleanup
This commit is contained in:
+6
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user