|
@@ -2,7 +2,7 @@ import AppKit
|
|
|
import SwiftUI
|
|
import SwiftUI
|
|
|
import WebKit
|
|
import WebKit
|
|
|
|
|
|
|
|
-/// Google Photos: medium embedded recent gallery with Albums / Memories / Search shortcuts.
|
|
|
|
|
|
|
+/// Google Photos: medium embedded recent gallery with Albums / Updates / Search shortcuts.
|
|
|
struct PhotosDesktopWidgetView: View {
|
|
struct PhotosDesktopWidgetView: View {
|
|
|
let app: LauncherApp
|
|
let app: LauncherApp
|
|
|
var isPreview: Bool = false
|
|
var isPreview: Bool = false
|
|
@@ -159,8 +159,8 @@ struct PhotosDesktopWidgetView: View {
|
|
|
PhotosShortcutChip(title: "Albums", systemImage: "rectangle.stack.fill") {
|
|
PhotosShortcutChip(title: "Albums", systemImage: "rectangle.stack.fill") {
|
|
|
openPhotosPath("/albums")
|
|
openPhotosPath("/albums")
|
|
|
}
|
|
}
|
|
|
- PhotosShortcutChip(title: "Memories", systemImage: "sparkles") {
|
|
|
|
|
- openPhotosPath("/memories")
|
|
|
|
|
|
|
+ PhotosShortcutChip(title: "Updates", systemImage: "bell.fill") {
|
|
|
|
|
+ openPhotosPath("/updates")
|
|
|
}
|
|
}
|
|
|
PhotosShortcutChip(title: "Search", systemImage: "magnifyingglass") {
|
|
PhotosShortcutChip(title: "Search", systemImage: "magnifyingglass") {
|
|
|
openPhotosPath("/search")
|
|
openPhotosPath("/search")
|