mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 18:20:24 -05:00
🔥 remove closed-source subscription notification code (#663)
This commit is contained in:
committed by
GitHub
parent
b63309fddd
commit
19218be14f
@@ -1368,16 +1368,6 @@ handlers['key-test'] = async function ({ fileId, password }) {
|
|||||||
return {};
|
return {};
|
||||||
};
|
};
|
||||||
|
|
||||||
handlers['should-pitch-subscribe'] = async function () {
|
|
||||||
let seenSubscribe = await asyncStorage.getItem('seenSubscribe');
|
|
||||||
return seenSubscribe !== 'true';
|
|
||||||
};
|
|
||||||
|
|
||||||
handlers['has-pitched-subscribe'] = async function () {
|
|
||||||
await asyncStorage.setItem('seenSubscribe', 'true');
|
|
||||||
return 'ok';
|
|
||||||
};
|
|
||||||
|
|
||||||
handlers['subscribe-needs-bootstrap'] = async function ({ url } = {}) {
|
handlers['subscribe-needs-bootstrap'] = async function ({ url } = {}) {
|
||||||
if (getServer(url).BASE_SERVER === UNCONFIGURED_SERVER) {
|
if (getServer(url).BASE_SERVER === UNCONFIGURED_SERVER) {
|
||||||
return { bootstrapped: true };
|
return { bootstrapped: true };
|
||||||
|
|||||||
Reference in New Issue
Block a user