[UX] Add password field to FTP (Cloud storage) (#4232)

pull/4204/head
Robert 6 years ago committed by Frans de Jonge
parent eed3a4b5a2
commit afc8427d96

@ -90,6 +90,7 @@ function Ftp:config(item, callback)
{ {
text = text_password, text = text_password,
input_type = "string", input_type = "string",
text_type = "password",
hint = hint_password, hint = hint_password,
}, },
{ {

@ -42,6 +42,7 @@ function MultiInputDialog:init()
text = field.text or "", text = field.text or "",
hint = field.hint or "", hint = field.hint or "",
input_type = field.input_type or "string", input_type = field.input_type or "string",
text_type = field.text_type,
face = self.input_face, face = self.input_face,
width = self.width * 0.9, width = self.width * 0.9,
focused = k == 1 and true or false, focused = k == 1 and true or false,

Loading…
Cancel
Save