From 25df3daba5583f5d4295b5cfa82952563a9bc747 Mon Sep 17 00:00:00 2001 From: Jake Liu <13583702+LittleJake@users.noreply.github.com> Date: Tue, 24 Jun 2025 18:18:53 +0800 Subject: [PATCH] chore(google_photo): update titles in getFakeRoot (#343) chore(google_photo): update titles in getFakeRoot to use constants instead of hardcoded strings --- drivers/google_photo/util.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/google_photo/util.go b/drivers/google_photo/util.go index 2ea2dfff..5668f5a8 100644 --- a/drivers/google_photo/util.go +++ b/drivers/google_photo/util.go @@ -90,15 +90,15 @@ func (d *GooglePhoto) getFakeRoot() ([]MediaItem, error) { return []MediaItem{ { Id: FETCH_ALL, - Title: "全部媒体", + Title: FETCH_ALL, }, { Id: FETCH_ALBUMS, - Title: "全部影集", + Title: FETCH_ALBUMS, }, { Id: FETCH_SHARE_ALBUMS, - Title: "共享影集", + Title: FETCH_SHARE_ALBUMS, }, }, nil }