Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

Merge pull request #9233 from streetwriters/mobile/fix-web-clip

Ammar Ahmedd11a200ebb35
diff --cc apps/mobile/app/share/share.tsx
index 78638ebf3,9b5f6c942..85fac5197
--- a/apps/mobile/app/share/share.tsx
+++ b/apps/mobile/app/share/share.tsx
@@@ -501,22 -511,26 +512,30 @@@ const ShareView = () =>
display: searchMode ? "none" : "flex",
borderTopRightRadius: Platform.OS === "ios" ? 10 : 15,
borderTopLeftRadius: Platform.OS === "ios" ? 10 : 15,
- maxHeight: Platform.OS === "android" ? undefined : "100%"
+ maxHeight: Platform.OS === "android" ? undefined : "100%",
+ paddingBottom:
+ Platform.OS === "android" && keyboardHeight
+ ? keyboardHeight
+ : insets.bottom
}}
>
- <ScrollView>
+ {loadingData ? (
<View
style={{
- maxHeight: "100%"
+ justifyContent: "center",
+ alignItems: "center",
+ height: 300,
+ gap: DefaultAppStyles.GAP_VERTICAL
}}
>
+ <ActivityIndicator color={colors.primary.accent} />
+ <Paragraph>Loading clip...</Paragraph>
+ </View>
+ ) : (
+ <ScrollView>
<View
style={{
- width: "100%"
+ maxHeight: "100%"
}}
>
<View