mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 17:25:11 +03:00
chore(web): change license wording and other things (#11309)
This commit is contained in:
18
web/src/lib/stores/purchase.store.ts
Normal file
18
web/src/lib/stores/purchase.store.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
function createPurchaseStore() {
|
||||
const isPurcharsed = writable(false);
|
||||
|
||||
function setPurchaseStatus(status: boolean) {
|
||||
isPurcharsed.set(status);
|
||||
}
|
||||
|
||||
return {
|
||||
isPurchased: {
|
||||
subscribe: isPurcharsed.subscribe,
|
||||
},
|
||||
setPurchaseStatus,
|
||||
};
|
||||
}
|
||||
|
||||
export const purchaseStore = createPurchaseStore();
|
||||
Reference in New Issue
Block a user