-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(PC-21416) feat(statusBar): blur/white status bar home and profile #5089
Conversation
c8719ea
to
b39bcf9
Compare
<Section title={isLoggedIn ? 'Paramètres du compte' : 'Paramètres de l’application'}> | ||
<VerticalUl> | ||
{!!isLoggedIn && ( | ||
<View> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dans ce fichier j'ai juste rajouter en ligne 117, 263, 264
Performance Comparison ReportSignificant Changes To Render DurationThere are no entries Meaningless Changes To Render DurationShow entries
Show details
Changes To Render CountThere are no entries Added ScenariosThere are no entries Removed ScenariosThere are no entries |
export const StatusBarBlurredBackground = ({ blurAmount = 8, blurType = 'light' }: Props) => { | ||
const { top } = useCustomSafeInsets() | ||
|
||
// There is an issue with the blur on Android: we chose not to render it and use a white background |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce que tu peux ajouter le lien de l'issue github stp ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j'ai juste copier coller le commentaire de BlurView, j'ai plus le lien exact de l'issue :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quand je dis lien exact, c'est que y en a plusieurs avec des problèmes liés à Android mais je retrouve pas celle qui le dit explicitement. Est ce que je mets un lien d'une de ces issues ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En regardant rapidement j'ai l'impression que celle ci parle du souci qu'on a rencontré non ? Kureev/react-native-blur#511
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dans tous les cas oui ça peut être pas mal de mettre un lien
blurType?: 'dark' | 'light' | 'xlight' | ||
} | ||
|
||
export const StatusBarBlurredBackground = ({ blurAmount = 8, blurType = 'light' }: Props) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'après le code le composant BlurView
a déjà ces propriétés :
export const BlurView = ({ blurAmount = 8, blurType = 'light' }: Props) => {
return <Blurred blurType={blurType} blurAmount={blurAmount} />
}
Est-ce vraiment nécessaire de les remettre ici ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas forcément, je les enlèvent
…kground on Android below the status bar
b39bcf9
to
0d6dfa3
Compare
0d6dfa3
to
629e27f
Compare
export const StatusBarBlurredBackground = ({ blurAmount = 8, blurType = 'light' }: Props) => { | ||
const { top } = useCustomSafeInsets() | ||
|
||
// There is an issue with the blur on Android: we chose not to render it and use a white background |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En regardant rapidement j'ai l'impression que celle ci parle du souci qu'on a rencontré non ? Kureev/react-native-blur#511
export const StatusBarBlurredBackground = ({ blurAmount = 8, blurType = 'light' }: Props) => { | ||
const { top } = useCustomSafeInsets() | ||
|
||
// There is an issue with the blur on Android: we chose not to render it and use a white background |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dans tous les cas oui ça peut être pas mal de mettre un lien
Link to JIRA ticket: https://passculture.atlassian.net/browse/PC-21416
Checklist
I have:
Screenshots