From: Debayan Sutradhar Date: Fri, 02 Apr 2021 20:19:39 +0530 Subject: Updated motheraction password textfield as password field --- Updated motheraction password textfield as password field --- --- 'a/obssuite/mother/pom.xml' +++ b/obssuite/mother/pom.xml @@ -6,7 +6,7 @@ com.stream-pi obssuite_motheraction - 1.0.0 + 1.1.0 --- 'a/obssuite/mother/src/main/java/mother/Mother.java' +++ b/obssuite/mother/src/main/java/mother/Mother.java @@ -1,5 +1,6 @@ package mother; +import com.stream_pi.action_api.actionproperty.property.ControlType; import com.stream_pi.action_api.actionproperty.property.Property; import com.stream_pi.action_api.actionproperty.property.Type; import com.stream_pi.action_api.externalplugin.NormalAction; @@ -21,7 +22,7 @@ public class Mother extends NormalAction setVisibilityInPluginsPane(false); setAuthor("rnayabed"); setHelpLink("https://github.com/Stream-Pi/EssentialActions"); - setVersion(new Version(1,0,0)); + setVersion(new Version(1,1,0)); connectDisconnectButton = new Button("Connect"); @@ -39,6 +40,7 @@ public class Mother extends NormalAction urlProperty.setCanBeBlank(false); Property passwordProperty = new Property("pass", Type.STRING); + passwordProperty.setControlType(ControlType.TEXT_FIELD_MASKED); passwordProperty.setDisplayName("Password"); Property connectOnStartupProperty = new Property("connect_on_startup", Type.BOOLEAN);