some minor cleanup
continuous-integration/drone/push Build is passing Détails

Cette révision appartient à :
Jannik 2019-11-27 16:22:07 +01:00
Parent e4cc195fa8
révision 03c69b232a
Signé par: Seil0
ID de la clé GPG: E8459F3723C52C24
2 fichiers modifiés avec 0 ajouts et 7 suppressions

Voir le fichier

@ -206,16 +206,12 @@ public class SettingsView {
@FXML
private void updateBtnAction(ActionEvent event) {
new UpdateController();
if (UpdateController.isUpdateAvailable()) {
updateBtn.setText(XMLController.getLocalBundle().getString("updateBtnUpdateAvailable"));
UpdateController.update();
} else {
updateBtn.setText(XMLController.getLocalBundle().getString("updateBtnNoUpdateAvailable"));
}
}
/** TODO can this be done async?

Voir le fichier

@ -57,9 +57,6 @@ public class UpdateController {
/**
* updater for Project HomeFlix based on cemu_UIs, checks for Updates and download it
*/
public UpdateController() {
}
public static void update() {
if (browserDownloadUrl != null) {