Refactor & Extract image viewers (#1074)

* Extract `ImagePreviewView` + add `#Preview`

* Extract image pickers + dedupe and bg processing of images

* Include a dummy photo in the preview assets vs live url

* Fix development assets + url percent encoding

* Fix iOS vs macOS build issue

* Fix SPM-related issues
This commit is contained in:
Islam
2026-04-02 18:49:17 -05:00
committed by GitHub
parent 19437a0bc6
commit 4b000b0785
10 changed files with 361 additions and 249 deletions
+1
View File
@@ -32,6 +32,7 @@ let package = Package(
exclude: [
"Info.plist",
"Assets.xcassets",
"_PreviewHelpers/PreviewAssets.xcassets",
"bitchat.entitlements",
"bitchat-macOS.entitlements",
"LaunchScreen.storyboard",