Skip to content

Commit 56b1d34

Browse files
author
Trollhunters501PC
authored
Cambiar ANY por PASSWORD en apikey de gemini
1 parent a732508 commit 56b1d34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • source/org/CreadoresProgram/CreaProPhone

source/org/CreadoresProgram/CreaProPhone/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void commandAction(Command c, Displayable d) {
9898
saveChat();
9999
notifyDestroyed();
100100
}else if(c == cmdconfigActuaKey){
101-
final TextBox tb = new TextBox("API Key Escribe tu API key:", "", 100, TextField.ANY);
101+
final TextBox tb = new TextBox("API Key Escribe tu API key:", "", 100, TextField.PASSWORD);
102102
final Command cmdOk = new Command("Aceptar", Command.OK, 1);
103103
final Command cmdCancel = new Command("Cancelar", Command.CANCEL, 2);
104104
tb.addCommand(cmdOk);
@@ -238,7 +238,7 @@ private String getItem(String idkey){
238238
private void verifyConfig(){
239239
apiKey = getItem("apiKey");
240240
if(apiKey == null || apiKey.length() == 0) {
241-
final TextBox tb = new TextBox("API Key Escribe tu API key:", "", 100, TextField.ANY);
241+
final TextBox tb = new TextBox("API Key Escribe tu API key:", "", 100, TextField.PASSWORD);
242242
final Command cmdOk = new Command("Aceptar", Command.OK, 1);
243243
final Command cmdCancel = new Command("Cancelar", Command.CANCEL, 2);
244244
tb.addCommand(cmdOk);

0 commit comments

Comments
 (0)