Fix always showing the welcome page when upgrading from old versions

This commit is contained in:
huangyuhui 2018-07-29 13:25:15 +08:00
parent e31120be21
commit 484a103f27

View File

@ -42,7 +42,6 @@ public class Settings {
private Settings() {
firstLaunch = CONFIG.isFirstLaunch();
CONFIG.setFirstLaunch(false);
ProxyManager.init();
Accounts.init();
@ -56,6 +55,7 @@ public class Settings {
}
CONFIG.addListener(source -> save());
CONFIG.setFirstLaunch(false);
}
private void save() {