chore: rename Youtube to YouTube

Closes #5526
This commit is contained in:
Slinetrac
2025-11-19 17:04:19 +08:00
parent 9e3bc6db8c
commit 94b07b51d6
4 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ const DEFAULT_UNLOCK_ITEM_NAMES: [&str; 13] = [
"ChatGPT Web",
"Claude",
"Gemini",
"Youtube Premium",
"YouTube Premium",
"Bahamut Anime",
"Netflix",
"Disney+",

View File

@@ -42,14 +42,14 @@ pub(super) async fn check_youtube_premium(client: &Client) -> UnlockItem {
}
UnlockItem {
name: "Youtube Premium".to_string(),
name: "YouTube Premium".to_string(),
status: status.to_string(),
region,
check_time: Some(get_local_date_string()),
}
} else {
UnlockItem {
name: "Youtube Premium".to_string(),
name: "YouTube Premium".to_string(),
status: "Failed".to_string(),
region: None,
check_time: Some(get_local_date_string()),
@@ -57,7 +57,7 @@ pub(super) async fn check_youtube_premium(client: &Client) -> UnlockItem {
}
}
Err(_) => UnlockItem {
name: "Youtube Premium".to_string(),
name: "YouTube Premium".to_string(),
status: "Failed".to_string(),
region: None,
check_time: Some(get_local_date_string()),

View File

@@ -62,7 +62,7 @@ const DEFAULT_TEST_LIST = [
},
{
uid: nanoid(),
name: "Youtube",
name: "YouTube",
url: "https://www.youtube.com",
icon: youtube,
},

View File

@@ -62,7 +62,7 @@ const TestPage = () => {
},
{
uid: nanoid(),
name: "Youtube",
name: "YouTube",
url: "https://www.youtube.com",
icon: youtube,
},