Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
6.7 kB
2
Indexable
Never
 <View style={[styles.chatBox, { backgroundColor: Apptheme.getbottomfeedbackgroundcolor() }]}>

            <View style={styles.headerView}>
              <TouchableOpacity

                onPress={() => this.props.navigation.goBack()}
              >
                <FastImage style={styles.image_backImage} source={closeChevron} />
              </TouchableOpacity>
              <View style={styles.userview}>
                <Text style={[styles.headertext]}>Message Settings</Text>

              </View>
              <TouchableOpacity
              // style={styles.threedotsview}
              // onPress={() => this.handleEditProfile()}
              >
                {/* <Text style = {styles.infotxt}>i</Text> */}
              </TouchableOpacity>
            </View>
            <ScrollView>
              <View style={styles.bodyView}>
                <Text style={styles.Privacy_txt}>Privacy</Text>

                <View style={styles.privacypoilcy}>
                  <View style={styles.horizontal}>
                    <Text style={styles.policyheadertxt}>Public message requests</Text>

                    <TouchableOpacity

                      style={{
                         left: Scale(20),
                         height: Scale(40),
                          width: Scale(40), 
                          alignContent: 'center',
                           justifyContent: 'center' }}
                      onPress={() => this.setState({ public_mssg_request: !this.state.public_mssg_request })}>
                      <Image source={this.state.public_mssg_request ? Close_Round : Open_Round} style={[styles.radio, { tintColor: this.state.public_mssg_request ? Apptheme.getartisttextcolor() : Apptheme.getusernameColor() }]} />
                    </TouchableOpacity>
                  </View>
                  <Text style={styles.description}>Open your messages to everyone. Anyone can send you a message and start a converation with you.</Text>
                </View>
                <View style={styles.privacypoilcy}>
                  <View style={styles.horizontal}>
                    <Text style={styles.policyheadertxt}>Following message requests</Text>

                    <TouchableOpacity

                      style={{ 
                        left: Scale(20), 
                        height: Scale(40),
                         width: Scale(40), 
                         alignContent: 'center',
                          justifyContent: 'center'
                         }}
                      onPress={() => this.setState({ following_mssg_request: !this.state.following_mssg_request })}>
                      <Image source={this.state.following_mssg_request ? Close_Round : Open_Round} style={[styles.radio, { tintColor: this.state.following_mssg_request ? Apptheme.getartisttextcolor() : Apptheme.getusernameColor() }]} />
                    </TouchableOpacity>
                  </View>

                  <Text style={styles.description}>Open your messages to people you are following. Only people that you are following can start a conversation with you.</Text>
                </View>
                <View style={styles.privacypoilcy}>
                  <View style={styles.horizontal}>
                    <Text style={styles.policyheadertxt}>Verified User message requests</Text>

                    <TouchableOpacity
                      testID='mentnEveryBtn'
                      style={{ 
                        left: Scale(20),
                         height: Scale(40),
                          width: Scale(40),
                           alignContent: 'center',
                            justifyContent: 'center'
                           }}
                      onPress={() => this.setState({ verified_mssg_request: !this.state.verified_mssg_request })}>
                      <Image source={this.state.verified_mssg_request ? Close_Round : Open_Round} style={[styles.radio, { tintColor: this.state.verified_mssg_request ? Apptheme.getartisttextcolor() : Apptheme.getusernameColor() }]} />
                    </TouchableOpacity>
                  </View>
                  <Text style={styles.description}>
                    Only people that you are following or Verified Users such as Artists, Tastemakers and/or Vibe staff can start a conversation with you</Text>
                </View>
                <Text style={styles.Notification_txt}>Notifications</Text>
                <View style={styles.privacypoilcy}>
                  <View style={styles.horizontal}>
                    <Text style={styles.policyheadertxt}>Push notifications for messages</Text>

                    <TouchableOpacity
                      testID='newFollowsSwt'
                      onPress={() =>
                        this.setState({ ispushnotification: !this.state.ispushnotification })}
                    >
                      <Image
                        style={
                          this.state.ispushnotification
                            ? styles.toggleOnStyle
                            : styles.toggleOffStyle
                        }
                        resizeMode="contain"
                        source={this.state.ispushnotification ? toggleon : toggleoff}
                      />
                    </TouchableOpacity>
                  </View>
                  <Text style={styles.description}>
                    Enable push notifications for messages. You will receive a push notification for each message sent to you. This only applies to messages from users who you have notificationsturned on for.
                  </Text>
                </View>
                <View style={styles.privacypoilcy}>
                  <View style={styles.horizontal}>
                    <Text style={styles.policyheadertxt}>Show read receipts</Text>

                    <TouchableOpacity
                      testID='newFollowsSwt'
                      onPress={() =>
                        this.setState({ showreceipt: !this.state.showreceipt })}
                    >
                      <Image
                        style={
                          this.state.showreceipt
                            ? styles.toggleOnStyle
                            : styles.toggleOffStyle
                        }
                        resizeMode="contain"
                        source={this.state.showreceipt ? toggleon : toggleoff}
                      />
                    </TouchableOpacity>
                  </View>
                  <Text style={styles.description}>
                    Let people know when you have seen their messages.</Text>
                </View>
              </View>
            </ScrollView>
          </View>