| author | |
| committer | |
| log | bd422fd8d1d960d9f75b9434cbc6b9128fbd3187 |
| tree | dfd04c039ed16759da8e46948f7216d859a0b334 |
| parent | 33a03c8a7bf4a398f410c9e6def903531237958a |
| signature | Signed by PGP key B5690EEEBB952194 |
4 files changed, 33 insertions(+), 6 deletions(-)
apps/mobile/src/features/threads/ThreadComposer.tsx+15-3| ... | ... | @@ -21,6 +21,7 @@ import { |
| 21 | 21 | Image, |
| 22 | 22 | Platform, |
| 23 | 23 | Pressable, |
| 24 | StyleSheet, | |
| 24 | 25 | useColorScheme, |
| 25 | 26 | View, |
| 26 | 27 | type ViewStyle, |
| ... | ... | @@ -698,11 +699,22 @@ export const ThreadComposer = memo(function ThreadComposer(props: ThreadComposer |
| 698 | 699 | style={{ |
| 699 | 700 | paddingTop: isExpanded ? 8 : 6, |
| 700 | 701 | paddingBottom: (props.bottomInset ?? 0) + (isExpanded ? 8 : 6), |
| 701 | experimental_backgroundImage: isDarkMode | |
| 702 | ? "linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.9) 100%)" | |
| 703 | : "linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 55%, rgba(255,255,255,0.9) 100%)", | |
| 704 | 702 | }} |
| 705 | 703 | > |
| 704 | {/* The backdrop gradient lives on a plain View: Reanimated's Animated.View | |
| 705 | silently drops experimental_backgroundImage on Android, which left this | |
| 706 | strip fully transparent and the feed text legible through the composer. */} | |
| 707 | <View | |
| 708 | pointerEvents="none" | |
| 709 | style={[ | |
| 710 | StyleSheet.absoluteFill, | |
| 711 | { | |
| 712 | experimental_backgroundImage: isDarkMode | |
| 713 | ? "linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.9) 100%)" | |
| 714 | : "linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 55%, rgba(255,255,255,0.9) 100%)", | |
| 715 | }, | |
| 716 | ]} | |
| 717 | /> | |
| 706 | 718 | <Animated.View |
| 707 | 719 | className="relative w-full self-center" |
| 708 | 720 | layout={COMPOSER_LAYOUT_TRANSITION} |
patches/@react-native__gradle-plugin@0.85.3.patch created+13| ... | ... | @@ -0,0 +1,13 @@ |
| 1 | diff --git a/settings.gradle.kts b/settings.gradle.kts | |
| 2 | index b3c46a3bf5eb21c0bb1c9435b5582aecbc57d57a..14f1e9c2063ef10ca3f2ecbb2336b8a4aacfcc9c 100644 | |
| 3 | --- a/settings.gradle.kts | |
| 4 | +++ b/settings.gradle.kts | |
| 5 | @@ -13,7 +13,7 @@ pluginManagement { | |
| 6 | } | |
| 7 | } | |
| 8 | ||
| 9 | -plugins { id("org.gradle.toolchains.foojay-resolver-convention").version("0.5.0") } | |
| 10 | +plugins { id("org.gradle.toolchains.foojay-resolver-convention").version("1.0.0") } | |
| 11 | ||
| 12 | include( | |
| 13 | ":react-native-gradle-plugin", |
pnpm-lock.yaml+4-3| ... | ... | @@ -75,6 +75,7 @@ patchedDependencies: |
| 75 | 75 | '@legendapp/list@3.3.3': d162d67b73933ab077d00627cdf52b18ea88b28c4fae4e8340a854df25026f09 |
| 76 | 76 | '@pierre/diffs@1.3.0-beta.10': 7ef7cb0cbabb17c15cdb137554068b36f15f6f5265e73fb51452aa3380db91aa |
| 77 | 77 | '@react-native-menu/menu@2.0.0': 5ea3ae4bf1d9baf5443b65c269bb09621c27a68d556f713778f37b1e8d46aaae |
| 78 | '@react-native/gradle-plugin@0.85.3': c1b594a16e682d621b6a960926f8ce13fc92edfb397884cfe7fcb0518996a784 | |
| 78 | 79 | '@react-navigation/native-stack@7.17.6': c7fc101b78d434904425e5a24c22fb0042298dec6f807250486e784f3c717273 |
| 79 | 80 | effect@4.0.0-beta.103: af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6 |
| 80 | 81 | expo-modules-jsi@56.0.10: 9170f8074ae4e35a0a086e756c8f815794fd3abe51eac67ca3ba02804225ec1f |
| ... | ... | @@ -14198,7 +14199,7 @@ snapshots: |
| 14198 | 14199 | - supports-color |
| 14199 | 14200 | - utf-8-validate |
| 14200 | 14201 | |
| 14201 | '@react-native/gradle-plugin@0.85.3': {} | |
| 14202 | '@react-native/gradle-plugin@0.85.3(patch_hash=c1b594a16e682d621b6a960926f8ce13fc92edfb397884cfe7fcb0518996a784)': {} | |
| 14202 | 14203 | |
| 14203 | 14204 | '@react-native/js-polyfills@0.85.3': {} |
| 14204 | 14205 | |
| ... | ... | @@ -20047,7 +20048,7 @@ snapshots: |
| 20047 | 20048 | '@react-native/assets-registry': 0.85.3 |
| 20048 | 20049 | '@react-native/codegen': 0.85.3(@babel/core@7.29.7) |
| 20049 | 20050 | '@react-native/community-cli-plugin': 0.85.3(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(bufferutil@4.1.0)(utf-8-validate@6.0.6) |
| 20050 | '@react-native/gradle-plugin': 0.85.3 | |
| 20051 | '@react-native/gradle-plugin': 0.85.3(patch_hash=c1b594a16e682d621b6a960926f8ce13fc92edfb397884cfe7fcb0518996a784) | |
| 20051 | 20052 | '@react-native/js-polyfills': 0.85.3 |
| 20052 | 20053 | '@react-native/normalize-colors': 0.85.3 |
| 20053 | 20054 | '@react-native/virtualized-lists': 0.85.3(@types/react@19.2.16)(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.3)(utf-8-validate@6.0.6))(react@19.2.3) |
| ... | ... | @@ -20092,7 +20093,7 @@ snapshots: |
| 20092 | 20093 | '@react-native/assets-registry': 0.85.3 |
| 20093 | 20094 | '@react-native/codegen': 0.85.3(@babel/core@7.29.7) |
| 20094 | 20095 | '@react-native/community-cli-plugin': 0.85.3(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(bufferutil@4.1.0)(utf-8-validate@6.0.6) |
| 20095 | '@react-native/gradle-plugin': 0.85.3 | |
| 20096 | '@react-native/gradle-plugin': 0.85.3(patch_hash=c1b594a16e682d621b6a960926f8ce13fc92edfb397884cfe7fcb0518996a784) | |
| 20096 | 20097 | '@react-native/js-polyfills': 0.85.3 |
| 20097 | 20098 | '@react-native/normalize-colors': 0.85.3 |
| 20098 | 20099 | '@react-native/virtualized-lists': 0.85.3(@types/react@19.2.16)(react-native@0.85.3(@babel/core@7.29.7)(@react-native/metro-config@0.85.3(@babel/core@7.29.7)(bufferutil@4.1.0)(utf-8-validate@6.0.6))(@types/react@19.2.16)(bufferutil@4.1.0)(react@19.2.6)(utf-8-validate@6.0.6))(react@19.2.6) |
pnpm-workspace.yaml+1| ... | ... | @@ -128,6 +128,7 @@ patchedDependencies: |
| 128 | 128 | "@legendapp/list@3.3.3": patches/@legendapp__list@3.3.3.patch |
| 129 | 129 | "@pierre/diffs@1.3.0-beta.10": patches/@pierre%2Fdiffs@1.3.0-beta.10.patch |
| 130 | 130 | "@react-native-menu/menu@2.0.0": patches/@react-native-menu__menu@2.0.0.patch |
| 131 | "@react-native/gradle-plugin@0.85.3": patches/@react-native__gradle-plugin@0.85.3.patch | |
| 131 | 132 | "@react-navigation/native-stack@7.17.6": patches/@react-navigation%2Fnative-stack@7.17.6.patch |
| 132 | 133 | effect@4.0.0-beta.103: patches/effect@4.0.0-beta.103.patch |
| 133 | 134 | expo-modules-jsi@56.0.10: patches/expo-modules-jsi@56.0.10.patch |