Fix always showing the welcome page when upgrading from old versions
This commit is contained in:
@@ -42,7 +42,6 @@ public class Settings {
|
|||||||
|
|
||||||
private Settings() {
|
private Settings() {
|
||||||
firstLaunch = CONFIG.isFirstLaunch();
|
firstLaunch = CONFIG.isFirstLaunch();
|
||||||
CONFIG.setFirstLaunch(false);
|
|
||||||
|
|
||||||
ProxyManager.init();
|
ProxyManager.init();
|
||||||
Accounts.init();
|
Accounts.init();
|
||||||
@@ -56,6 +55,7 @@ public class Settings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CONFIG.addListener(source -> save());
|
CONFIG.addListener(source -> save());
|
||||||
|
CONFIG.setFirstLaunch(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void save() {
|
private void save() {
|
||||||
|
|||||||
Reference in New Issue
Block a user