Skip to content

Commit

Permalink
reinstalar welcome message que estaba comentado por error
Browse files Browse the repository at this point in the history
  • Loading branch information
kotogadekiru committed Mar 6, 2024
1 parent 07f7fb1 commit c6b1aa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/controller/ConfigGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public Menu contructConfigMenu() {
MenuItem actualizarMI=addMenuItem(Messages.getString("JFXMain.configUpdate"),null,menuConfiguracion);
actualizarMI.setOnAction((a)->doUpdate());
actualizarMI.setVisible(false);
//checkIfactualizarMIEnabled(menuConfiguracion, actualizarMI);
checkIfactualizarMIEnabled(menuConfiguracion, actualizarMI);

return menuConfiguracion;
}
Expand Down
2 changes: 2 additions & 0 deletions src/tasks/UpdateTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ public void uninstallProgressBar() {
* @return si la ultima version es mas grande que esta version devolver true
*/
public static boolean isUpdateAvailable() {
//System.out.println("viendo si necesito hacer update");
//TODO si ya se habia invocado no volver a llamar.
if(lastVersionNumber ==null) {
GenericUrl url = new GenericUrl(UPDATE_URL);//"http://www.ursulagis.com/update");// "http://www.lanacion.com.ar");
Expand Down Expand Up @@ -314,6 +315,7 @@ public static String getUserNumber() {
* @param message
*/
private static void showWelcomeMessage(String message) {
//System.out.println("mostrando welcome \n"+message);
Platform.runLater(()->{
WebView webView = new WebView();
// webView.setPrefSize(600, 400);
Expand Down

0 comments on commit c6b1aa6

Please sign in to comment.