diff options
| author | Fuwn <[email protected]> | 2025-09-06 21:24:12 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-06 21:24:12 -0700 |
| commit | 5d48660fad0c5a9f0a3b462f8cec7c35d07aaa8d (patch) | |
| tree | 2a2f2f8c7cd44edb22add7c6af30b55260290b04 /Sora | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-5d48660fad0c5a9f0a3b462f8cec7c35d07aaa8d.tar.xz sora-testing-5d48660fad0c5a9f0a3b462f8cec7c35d07aaa8d.zip | |
feat: Development commit
Diffstat (limited to 'Sora')
| -rw-r--r-- | Sora/Views/Post/Details/PostDetailsView.swift | 8 | ||||
| -rw-r--r-- | Sora/Views/Post/Grid/PostGridView.swift | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Sora/Views/Post/Details/PostDetailsView.swift b/Sora/Views/Post/Details/PostDetailsView.swift index bca956a..8dc95d4 100644 --- a/Sora/Views/Post/Details/PostDetailsView.swift +++ b/Sora/Views/Post/Details/PostDetailsView.swift @@ -116,6 +116,10 @@ struct PostDetailsView: View { } .toolbar { ToolbarItem { + PostGridFavoriteButtonView(post: currentPost) + } + + ToolbarItem { Button(action: { isTagsSheetPresented.toggle() }) { @@ -123,10 +127,6 @@ struct PostDetailsView: View { } } - ToolbarItem { - PostGridFavoriteButtonView(post: currentPost) - } - #if os(macOS) if settings.enableShareShortcut { ToolbarItem { diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift index 0ad34f5..2ffdd5a 100644 --- a/Sora/Views/Post/Grid/PostGridView.swift +++ b/Sora/Views/Post/Grid/PostGridView.swift @@ -283,7 +283,7 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length } #endif - PlatformSpecificToolbarItem { + PlatformSpecificToolbarItem(placement: .automatic) { PostGridBookmarkButtonView( tags: initialTag != nil ? localSearchText.components(separatedBy: .whitespaces).filter { component in |