Browse Source

some minor cleanup

dev
Jannik Seiler 4 months ago
parent
commit
03c69b232a
Signed by: Seil0 <seil0@mosad.xyz> GPG Key ID: E8459F3723C52C24
2 changed files with 0 additions and 7 deletions
  1. +0
    -4
      src/main/java/kellerkinder/HomeFlix/application/SettingsView.java
  2. +0
    -3
      src/main/java/kellerkinder/HomeFlix/controller/UpdateController.java

+ 0
- 4
src/main/java/kellerkinder/HomeFlix/application/SettingsView.java View File

@@ -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?


+ 0
- 3
src/main/java/kellerkinder/HomeFlix/controller/UpdateController.java View File

@@ -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) {


Loading…
Cancel
Save