chore(google_photo): update titles in getFakeRoot (#343)

chore(google_photo): update titles in getFakeRoot to use constants instead of hardcoded strings
This commit is contained in:
Jake Liu
2025-06-24 18:18:53 +08:00
committed by GitHub
parent ce3cb2e31e
commit 25df3daba5

View File

@ -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
}