chore: make view similar photo button more discoverable (#23350)

This commit is contained in:
Alex 2025-10-29 10:38:50 -05:00 committed by GitHub
parent 217d719b0b
commit 1a2e7d06cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,6 +48,7 @@ enum ActionButtonType {
advancedInfo, advancedInfo,
share, share,
shareLink, shareLink,
similarPhotos,
archive, archive,
unarchive, unarchive,
download, download,
@ -60,8 +61,7 @@ enum ActionButtonType {
upload, upload,
removeFromAlbum, removeFromAlbum,
unstack, unstack,
likeActivity, likeActivity;
similarPhotos;
bool shouldShow(ActionButtonContext context) { bool shouldShow(ActionButtonContext context) {
return switch (this) { return switch (this) {