Commit Graph

68 Commits

Author SHA1 Message Date
Nathan Mattes 132af03bb2
Set Deployment Target to iOS 16 (#1125)
Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-09-29 19:31:22 +02:00
Nathan Mattes 95fdc7616f Fix warning 2023-09-22 15:28:07 +02:00
Nathan Mattes fbde2a5833 More cleanup 2023-09-22 15:27:46 +02:00
Jed Fox 967b7e5b53
Prioritize the double-tap-to-zoom gesture over other double-tap gestures 2023-07-04 08:49:55 -04:00
Jed Fox e16185fa71
Remove unused long press gesture recognizer 2023-07-04 08:49:26 -04:00
Jed Fox bd1339e9f2
Hide the entire top toolbar for videos & audio (#1070) 2023-06-29 08:54:10 +02:00
Jed Fox c45e40b21e
IOS-159: Fix tap location check for dismissing media preview (#1059) 2023-06-07 11:35:05 +02:00
woxtu d24fe00420
Fix the alt text view initialization (#1047) 2023-05-15 14:21:43 +02:00
Jed Fox 124638a0cb
IOS-148 Updates to the media badging look & feel (#1019) 2023-04-19 22:38:58 +02:00
Jed Fox 3e4a5f35fa
Merge remote-tracking branch 'upstream/develop' into rotate-media-view 2022-12-30 08:15:10 -05:00
Nathan Mattes f26f36a60b Slightly adjust code (#806)
Renaming, remove iOS-checks.
2022-12-26 15:29:45 +01:00
Jed Fox d553dd4f62
Resize text when Dynamic Type style updates 2022-12-23 14:16:41 -05:00
Jed Fox 752d76c8be
fix sizing if the text view does not need to scroll 2022-12-23 14:08:22 -05:00
Jed Fox b8b59674f3
Fix scroll insets, increase contrast 2022-12-23 11:34:05 -05:00
Jed Fox 0faea45485
Allow AltViewController text to scroll 2022-12-23 10:27:07 -05:00
Nathan Mattes 7ee51d06cc
Merge pull request #699 from j-f1/alt-button
Add a button to show alt text for media
2022-12-22 09:29:00 +01:00
Jed Fox dc6a86f846
Extract out TouchTransparentStackView 2022-12-21 19:38:29 -05:00
Jed Fox ff502a4868
Remove some os_logs 2022-12-21 19:25:39 -05:00
Nathan Mattes fba444d82f
Merge pull request #681 from j-f1/there-is-no-escape
Allow pressing escape to close the media viewer
2022-12-21 21:17:27 +01:00
Jed Fox dbf95f726c
fix preferredContentSize 2022-12-20 09:37:13 -05:00
Jed Fox 7ab6ea0d23
Make alt text selectable 2022-12-20 09:37:13 -05:00
Jed Fox 754b0a7eb0
Move HUDButton to MastodonUI 2022-12-20 09:37:13 -05:00
Jed Fox 501e17bf18
Hide the ALT button when alt text is unavailable 2022-12-20 09:37:13 -05:00
Jed Fox ed580541f0
Merge top buttons into a single parent view
(also fix tapping just outside a HUDButton)
2022-12-20 09:37:12 -05:00
Jed Fox 582d1cf295
Add an ALT button to the media preview to display alt text 2022-12-20 09:37:12 -05:00
Jed Fox e8e15f3a0e
Remove support for previewing local images
(it was unused)
2022-12-20 09:37:12 -05:00
Jed Fox dd95724d14
Factor out code for the close button 2022-12-20 09:37:12 -05:00
Jed Fox 0910baab6c
Allow media viewer to be rotated to any orientation 2022-11-22 16:19:18 -05:00
Nathan Mattes 0953b3d4ff
Merge branch 'develop' into issue607 2022-11-22 21:56:00 +01:00
Jed Fox 75b0f1bfb8
Allow pressing escape to close the media viewer 2022-11-22 13:06:17 -05:00
Jed Fox 45c35ab146
Merge remote-tracking branch 'upstream/develop' into live-text 2022-11-21 08:41:05 -05:00
CMK 2064a318c3 Merge branch 'main' into develop
# Conflicts:
#	Mastodon/Scene/MediaPreview/Video/MediaPreviewVideoViewController.swift
2022-11-21 11:18:36 +08:00
Stefan Painhapp ace4537b7d Merge branch 'develop' into issue607 2022-11-18 19:08:06 +09:00
Stefan Painhapp 7ab62394de Handle safe areas for image preview 2022-11-18 19:07:44 +09:00
Nathan Mattes d4eabf95d1
Merge pull request #622 from painhapp/refactorPinToParent
[Refactor] Use UIView extension to create constraints (to parent view)
2022-11-17 23:19:03 +01:00
Nathan Mattes 96c3e17531 Fix some warnings 2022-11-17 23:16:21 +01:00
Stefan Painhapp e2e93bdaf0 #607 Use safe areas for image preview 2022-11-18 03:53:52 +09:00
Stefan Painhapp 60235c3989 Add missing view 2022-11-18 01:47:55 +09:00
Stefan Painhapp abe25f2156 Refactor pin to (parent) layout constraints as extension of UIView 2022-11-18 01:45:27 +09:00
Stefan Painhapp d8164c2bc9 Fix Video Player Constraints issue 2022-11-17 14:26:40 +09:00
Jed Fox 0687ef4f8e
Add support for tapping an image to hide all the chrome 2022-11-14 21:52:16 -05:00
Jed Fox 5277ec191b
Drop attempt to fade in the supplementary interface
sometimes it just stayed hidden?
2022-11-14 21:50:38 -05:00
Jed Fox ac28c2ee4f
Add Live Text support to MediaPreviewImageView 2022-11-14 20:44:47 -05:00
CMK fa27a28a60 chore: move core logic into package 2022-10-08 13:43:06 +08:00
CMK c4b8f129d7 fix: empty banner could be preview issue 2022-07-15 03:29:04 +08:00
CMK ad63c512df fix: refactor the profile UI to fix internal AutoLayout crash issue. resolve #440 2022-05-26 23:19:47 +08:00
CMK 5d38abd659 feat: dismiss image preview when tap empty area 2022-02-18 19:34:14 +08:00
CMK d1441aee8c fix: text strip wrong color in the Dark Mode issue 2022-02-10 14:21:19 +08:00
CMK 582843f54a feat: add video player for audio/video kind media 2022-02-09 20:35:19 +08:00
CMK b76b3a2750 feat: adapt the app to async & await. Update timeline UI 2022-01-27 21:23:39 +08:00