Skip to content

Commit

Permalink
(PC-21416) feat(statusBar): blur/white status bar home and profile (#…
Browse files Browse the repository at this point in the history
…5089)

* (PC-21416) feat(statusBar): add generic file to blur or add white background on Android below the status bar

* (PC-21416) feat(statusBar): blurred/white statusBar on Home and Profile

* (PC-21416) feat(statusBar): update snapshots

* (PC-21416) feat(statusBar): link to blur problems on Android
  • Loading branch information
S4andro authored Aug 1, 2023
1 parent 2c8c7ce commit b5db6b2
Show file tree
Hide file tree
Showing 9 changed files with 1,913 additions and 1,697 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,40 @@ exports[`GenericHome should display real content 1`] = `
]
}
/>
<View
height={16}
style={
Array [
Object {
"backdropFilter": "blur(20px)",
"height": 16,
"left": 0,
"overflow": "hidden",
"position": "absolute",
"right": 0,
},
]
}
>
<BlurView
blurAmount={8}
blurType="light"
style={
Array [
Object {
"backgroundColor": "transparent",
},
Array [
Object {
"flexBasis": 0,
"flexGrow": 1,
"flexShrink": 1,
},
],
]
}
/>
</View>
</View>
`;

Expand Down Expand Up @@ -293,5 +327,39 @@ exports[`GenericHome should display skeleton 1`] = `
]
}
/>
<View
height={16}
style={
Array [
Object {
"backdropFilter": "blur(20px)",
"height": 16,
"left": 0,
"overflow": "hidden",
"position": "absolute",
"right": 0,
},
]
}
>
<BlurView
blurAmount={8}
blurType="light"
style={
Array [
Object {
"backgroundColor": "transparent",
},
Array [
Object {
"flexBasis": 0,
"flexGrow": 1,
"flexShrink": 1,
},
],
]
}
/>
</View>
</View>
`;
34 changes: 34 additions & 0 deletions __snapshots__/features/home/pages/Home.native.test.tsx.native-snap
Original file line number Diff line number Diff line change
Expand Up @@ -421,5 +421,39 @@ exports[`Home page should render correctly 1`] = `
]
}
/>
<View
height={16}
style={
Array [
Object {
"backdropFilter": "blur(20px)",
"height": 16,
"left": 0,
"overflow": "hidden",
"position": "absolute",
"right": 0,
},
]
}
>
<BlurView
blurAmount={8}
blurType="light"
style={
Array [
Object {
"backgroundColor": "transparent",
},
Array [
Object {
"flexBasis": 0,
"flexGrow": 1,
"flexShrink": 1,
},
],
]
}
/>
</View>
</View>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,40 @@ exports[`ThematicHome should render correctly 1`] = `
]
}
/>
<View
height={16}
style={
Array [
Object {
"backdropFilter": "blur(20px)",
"height": 16,
"left": 0,
"overflow": "hidden",
"position": "absolute",
"right": 0,
},
]
}
>
<BlurView
blurAmount={8}
blurType="light"
style={
Array [
Object {
"backgroundColor": "transparent",
},
Array [
Object {
"flexBasis": 0,
"flexGrow": 1,
"flexShrink": 1,
},
],
]
}
/>
</View>
</View>
<View
collapsable={false}
Expand Down
Loading

0 comments on commit b5db6b2

Please sign in to comment.