From 2f0eef9b93bcba08b14d6db55260725b1aefdc64 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 26 Feb 2025 21:57:40 -0800 Subject: feat: Development commit --- Localizable.xcstrings | 18 ++++++++++++++++++ Sora/Views/Post/Details/PostDetailsTagsView.swift | 6 ++++++ Sora/Views/Post/Details/PostDetailsView.swift | 1 + 3 files changed, 25 insertions(+) diff --git a/Localizable.xcstrings b/Localizable.xcstrings index f3adad6..087a297 100644 --- a/Localizable.xcstrings +++ b/Localizable.xcstrings @@ -1,6 +1,9 @@ { "sourceLanguage" : "en", "strings" : { + "%lld" : { + + }, "Blur Content Ratings" : { }, @@ -140,6 +143,9 @@ }, "Rabbit SVG created by Kim Sun Young" : { + }, + "Refresh" : { + }, "Reset to Defaults" : { "localizations" : { @@ -153,6 +159,9 @@ }, "Save Image" : { + }, + "Save Tags to File During Download" : { + }, "Search" : { "localizations" : { @@ -163,6 +172,9 @@ } } } + }, + "Select a Post" : { + }, "Select Post" : { @@ -176,6 +188,9 @@ } } } + }, + "Share" : { + }, "Share Image" : { @@ -195,6 +210,9 @@ }, "Tap the bookmark button on a search page to add a bookmark." : { + }, + "Thumbnail Columns" : { + }, "Thumbnail Columns: %lld" : { "localizations" : { diff --git a/Sora/Views/Post/Details/PostDetailsTagsView.swift b/Sora/Views/Post/Details/PostDetailsTagsView.swift index 7bc04bc..94f9f69 100644 --- a/Sora/Views/Post/Details/PostDetailsTagsView.swift +++ b/Sora/Views/Post/Details/PostDetailsTagsView.swift @@ -20,3 +20,9 @@ struct PostDetailsTagsView: View { } } } + +#Preview { + PostDetailsTagsView( + isPresented: .constant(true), tags: ["hololive", "absurdres", "nekomimi"] + ) +} diff --git a/Sora/Views/Post/Details/PostDetailsView.swift b/Sora/Views/Post/Details/PostDetailsView.swift index 578f59f..e6d090e 100644 --- a/Sora/Views/Post/Details/PostDetailsView.swift +++ b/Sora/Views/Post/Details/PostDetailsView.swift @@ -102,6 +102,7 @@ struct PostDetailsView: View { } .sheet(isPresented: $isTagsSheetPresented) { PostDetailsTagsView(isPresented: $isTagsSheetPresented, tags: post.tags) + .frame(minHeight: 250) } } } -- cgit v1.2.3