From 856345373511bec99d6ec851042f9564d09e37cb Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Thu, 23 Jun 2022 17:10:48 -0300 Subject: [PATCH] [FIX] Announcement field triggers password suggestion (#4305) Co-authored-by: Gleidson Daniel Silva --- app/views/RoomInfoEditView/index.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/RoomInfoEditView/index.tsx b/app/views/RoomInfoEditView/index.tsx index 70693300e..2568c583c 100644 --- a/app/views/RoomInfoEditView/index.tsx +++ b/app/views/RoomInfoEditView/index.tsx @@ -3,7 +3,7 @@ import { Q } from '@nozbe/watermelondb'; import { BlockContext } from '@rocket.chat/ui-kit'; import { dequal } from 'dequal'; import isEmpty from 'lodash/isEmpty'; -import { Alert, Keyboard, ScrollView, Text, TextInput, TouchableOpacity, View } from 'react-native'; +import { Alert, Keyboard, ScrollView, Text, TextInput, TouchableOpacity, View, StyleSheet } from 'react-native'; import ImagePicker, { Image } from 'react-native-image-crop-picker'; import { connect } from 'react-redux'; @@ -630,6 +630,14 @@ class RoomInfoEditView extends React.Component + {/* This TextInput avoid appears the password fill when typing into Announcements TextInput */} + + + { this.joinCode = e;