build: refresh release artifacts after new brand logo and custom button audience

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
mahmood
2026-11-14 16:57:30 +03:30
co-authored by Cursor
parent de13445109
commit 072344f85e
218 changed files with 363 additions and 191 deletions
+8 -3
View File
@@ -106159,17 +106159,22 @@ var require_public_slider_controller = __commonJS({
const value = await this.misc.getConst("mobile_main_slider");
return Array.isArray(value) ? value : [];
}
/** Custom button on the profile dashboard (ثابت‌ها → دکمه سفارشی). */
/**
* Custom button on the profile dashboard (ثابت‌ها → دکمه سفارشی).
* `audience`: 'all' = signed out too, 'loggedIn' = only after login. Rows
* saved before the field existed were shown to everyone, so they read 'all'.
*/
async getCustomButton() {
const value = await this.misc.getConst("custom_button");
if (!value || typeof value !== "object" || Array.isArray(value)) {
return { enabled: false, title: "", link: "" };
return { enabled: false, title: "", link: "", audience: "all" };
}
const row = value;
return {
enabled: Boolean(row.enabled),
title: String(row.title ?? ""),
link: String(row.link ?? "")
link: String(row.link ?? ""),
audience: row.audience === "loggedIn" ? "loggedIn" : "all"
};
}
};