News window & make the hot news that uses google news rss legacy.

This commit is contained in:
yuanhau 2025-06-01 08:15:53 +08:00
parent dcf1b7db66
commit 046f5ae446
8 changed files with 14 additions and 12 deletions

View file

@ -461,10 +461,10 @@ const openArticles = async (slug: string, titleName?: string) => {
}, 1000);
};
const openNewsSourcePage = async (slug: string, titleName: string) => {
const openNewsSourcePage = async (slug: string) => {
openingAppViaAnApp.value = true;
passedValues.value = slug;
const titleNameFinal = titleName + " " + t("app.aboutNewsOrg");
const titleNameFinal = slug ? "關於" + slug : t("app.aboutNewsOrg");
findAndOpenWindow("aboutNewsOrg", titleNameFinal);
setTimeout(() => {