Skip to content

Commit

Permalink
- refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Oct 26, 2023
1 parent a91eb38 commit 9c18c63
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/main/java/mediathek/mainwindow/MediathekGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,16 @@ public void onFailure(@NotNull Throwable t) {
}, Daten.getInstance().getDecoratedPool());
}

//show a link to tutorial if we are in Austria and have never used MV before...
AustrianVlcCheck vlcCheck = new AustrianVlcCheck(this);
vlcCheck.perform();
performAustrianVlcCheck();
}

private void performAustrianVlcCheck() {
//perform check only when we are not in download-only mode...
if (!Config.shouldDownloadAndQuit()) {
//show a link to tutorial if we are in Austria and have never used MV before...
AustrianVlcCheck vlcCheck = new AustrianVlcCheck(this);
vlcCheck.perform();
}
}

private void loadBandwidthMonitor() {
Expand Down

0 comments on commit 9c18c63

Please sign in to comment.