fixed padding and margin issues (#60)
This commit is contained in:
committed by
GitHub Enterprise
parent
635ca7b675
commit
cb660f888b
Submodule RN-UI-LIB updated: 4839ddf3d2...f536a952ae
@@ -139,7 +139,7 @@ android {
|
||||
applicationId "com.avapp"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 20
|
||||
versionCode 22
|
||||
versionName "Address verification"
|
||||
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ const Submit: React.FC<ISubmit> = props => {
|
||||
return (
|
||||
<SafeAreaView>
|
||||
<ScrollView>
|
||||
{data.visitedWidgets.map(visited => {
|
||||
{data?.visitedWidgets?.map(visited => {
|
||||
console.log(visited);
|
||||
const sectionsArray = templateData.widget[visited].sections;
|
||||
|
||||
@@ -39,7 +39,7 @@ const Submit: React.FC<ISubmit> = props => {
|
||||
|
||||
return (
|
||||
<View>
|
||||
{sectionsArray.map(section => (
|
||||
{sectionsArray?.map(section => (
|
||||
<View
|
||||
style={[
|
||||
GenericStyles.p16,
|
||||
@@ -47,7 +47,7 @@ const Submit: React.FC<ISubmit> = props => {
|
||||
getShadowStyle(5),
|
||||
styles.br8,
|
||||
]}>
|
||||
{sections[section].label && (
|
||||
{sections?.[section].label && (
|
||||
<Heading
|
||||
style={GenericStyles.mb12}
|
||||
dark
|
||||
@@ -56,7 +56,7 @@ const Submit: React.FC<ISubmit> = props => {
|
||||
{sections[section].label}
|
||||
</Heading>
|
||||
)}
|
||||
{sections[section].questions.map(
|
||||
{sections?.[section].questions.map(
|
||||
(question, questionIndex) => {
|
||||
const answer =
|
||||
data.widgetContext[visited]
|
||||
|
||||
@@ -104,7 +104,7 @@ const ListItem: React.FC<IListItem> = props => {
|
||||
|
||||
return (
|
||||
// Todo kunal to add the page switching logic
|
||||
<Pressable onPress={handleCaseClick}>
|
||||
<Pressable style={{padding: 8}} onPress={handleCaseClick}>
|
||||
<View
|
||||
style={[
|
||||
GenericStyles.row,
|
||||
|
||||
@@ -7077,7 +7077,7 @@ rimraf@~2.6.2:
|
||||
dependencies:
|
||||
glob "^7.1.3"
|
||||
|
||||
rn-fetch-blob@^0.12.0:
|
||||
rn-fetch-blob@0.12.0:
|
||||
version "0.12.0"
|
||||
resolved "https://registry.yarnpkg.com/rn-fetch-blob/-/rn-fetch-blob-0.12.0.tgz#ec610d2f9b3f1065556b58ab9c106eeb256f3cba"
|
||||
integrity sha512-+QnR7AsJ14zqpVVUbzbtAjq0iI8c9tCg49tIoKO2ezjzRunN7YL6zFSFSWZm6d+mE/l9r+OeDM3jmb2tBb2WbA==
|
||||
|
||||
Reference in New Issue
Block a user