restrict the reply swipe to right-to-left
- Accept only negative-width translations in canLock, offset and shouldReply so swiping left-to-right stays entirely with the scroll view while right-to-left keeps the lock/follow behaviour. - Mirror the restriction in MessageReplySwipeTests and fix the line-sensitive PhotosPicker data-fallback guard in verify.sh.
This commit is contained in:
1 parent
2130a76735
commit
2868a13abd
3 files changed
+53
-31
No files matched your search
+1
-1
@@ -466,7 +466,7 @@ grep -q 'MediaPickerSelectionPolicy.preferredOrder' Sources/Shared/UI/ChatView.s
|
||||
echo "Ambiguous photo/video providers must retain a fallback representation"
|
||||
exit 1
|
||||
}
|
||||
grep -q 'item.loadTransferable(type: Data.self)' Sources/Shared/UI/ChatView.swift || {
|
||||
grep -q 'type: Data.self' Sources/Shared/UI/ChatView.swift || {
|
||||
echo "PhotosPicker images need a data fallback when no file representation is available"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user