-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40822 from tienifr/fix/38594-fix-illustration-nat…
…ive-device fix illustration is sitting too far down
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/pages/settings/Troubleshoot/getLightbulbIllustrationStyle/index.native.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type {ViewStyle} from 'react-native'; | ||
|
||
// Styling lottie animations for the Lightbulb component requires different margin values depending on the platform. | ||
export default function getLightbulbIllustrationStyle(): ViewStyle { | ||
return {}; | ||
} |
9 changes: 9 additions & 0 deletions
9
src/pages/settings/Troubleshoot/getLightbulbIllustrationStyle/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import type {ViewStyle} from 'react-native'; | ||
|
||
// Styling lottie animations for the Lightbulb component requires different margin values depending on the platform. | ||
export default function getTripIllustrationStyle(): ViewStyle { | ||
return { | ||
marginTop: 16, | ||
marginBottom: -16, | ||
}; | ||
} |