Просмотр исходного кода

style: fixup needlessly wrapped line

master
Saúl Ibarra Corretgé 4 лет назад
Родитель
Сommit
bf60be1654
1 измененных файлов: 1 добавлений и 4 удалений
  1. 1
    4
      react/features/room-lock/components/RoomLockPrompt.native.js

+ 1
- 4
react/features/room-lock/components/RoomLockPrompt.native.js Просмотреть файл

@@ -129,10 +129,7 @@ class RoomLockPrompt extends Component<Props> {
129 129
     _validateInput(value: string) {
130 130
 
131 131
         // we want only digits, but both number-pad and numeric add ',' and '.' as symbols
132
-        if (this.props.passwordNumberOfDigits
133
-            && value.length > 0
134
-            && !/^\d+$/.test(value)) {
135
-
132
+        if (this.props.passwordNumberOfDigits && value.length > 0 && !/^\d+$/.test(value)) {
136 133
             return false;
137 134
         }
138 135
 

Загрузка…
Отмена
Сохранить