diff --git a/packages/app/src/Tasks/index.ts b/packages/app/src/Tasks/index.ts
index c966d1e6..f5323944 100644
--- a/packages/app/src/Tasks/index.ts
+++ b/packages/app/src/Tasks/index.ts
@@ -1,11 +1,12 @@
import { MetadataCache } from "@snort/system";
+import { LoginSession } from "Login";
export interface UITask {
id: string;
/**
* Run checks to determine if this Task should be triggered for this user
*/
- check(user: MetadataCache): boolean;
+ check(user: MetadataCache, session: LoginSession): boolean;
mute(): void;
load(): void;
render(): JSX.Element;
@@ -21,7 +22,7 @@ export abstract class BaseUITask implements UITask {
protected state: UITaskState;
abstract id: string;
- abstract check(user: MetadataCache): boolean;
+ abstract check(user: MetadataCache, session: LoginSession): boolean;
abstract render(): JSX.Element;
constructor() {
diff --git a/packages/app/src/lang.json b/packages/app/src/lang.json
index 81d2661b..d9eed889 100644
--- a/packages/app/src/lang.json
+++ b/packages/app/src/lang.json
@@ -1157,6 +1157,9 @@
"jA3OE/": {
"defaultMessage": "{n,plural,=1{{n} sat} other{{n} sats}}"
},
+ "jAmfGl": {
+ "defaultMessage": "Your {site_name} subscription is expired"
+ },
"jMzO1S": {
"defaultMessage": "Internal error: {msg}"
},
@@ -1267,9 +1270,6 @@
"nOaArs": {
"defaultMessage": "Setup Profile"
},
- "nWQFic": {
- "defaultMessage": "Renew"
- },
"ncbgUU": {
"defaultMessage": "{site} is a Nostr UI, nostr is a decentralised protocol for saving and distributing \"notes\"."
},
@@ -1335,6 +1335,9 @@
"qUJTsT": {
"defaultMessage": "Blocked"
},
+ "qZsKBR": {
+ "defaultMessage": "Renew {tier}"
+ },
"qdGuQo": {
"defaultMessage": "Your Private Key Is (do not share this with anyone)"
},
diff --git a/packages/app/src/translations/en.json b/packages/app/src/translations/en.json
index 8927fb7b..2e7fd80d 100644
--- a/packages/app/src/translations/en.json
+++ b/packages/app/src/translations/en.json
@@ -379,6 +379,7 @@
"itPgxd": "Profile",
"izWS4J": "Unfollow",
"jA3OE/": "{n,plural,=1{{n} sat} other{{n} sats}}",
+ "jAmfGl": "Your {site_name} subscription is expired",
"jMzO1S": "Internal error: {msg}",
"jfV8Wr": "Back",
"juhqvW": "Improve login security with browser extensions",
@@ -415,7 +416,6 @@
"nGBrvw": "Bookmarks",
"nN9XTz": "Share your thoughts with {link}",
"nOaArs": "Setup Profile",
- "nWQFic": "Renew",
"ncbgUU": "{site} is a Nostr UI, nostr is a decentralised protocol for saving and distributing \"notes\".",
"nihgfo": "Listen to this article",
"nn1qb3": "Your donations are greatly appreciated",
@@ -437,6 +437,7 @@
"qDwvZ4": "Unknown error",
"qMx1sA": "Default Zap amount",
"qUJTsT": "Blocked",
+ "qZsKBR": "Renew {tier}",
"qdGuQo": "Your Private Key Is (do not share this with anyone)",
"qfmMQh": "This note has been muted",
"qkvYUb": "Add to Profile",