Delete unused code

(cherry picked from commit 227abebd2d)
This commit is contained in:
Dima-1 2020-02-24 14:35:13 +02:00
parent 147aa3e054
commit 6ca7bdc609

View file

@ -203,9 +203,9 @@ public class AppInitializer implements IProgress {
if (prevAppVersion < VERSION_3_5 || Version.getAppVersion(app).equals("3.5.3") if (prevAppVersion < VERSION_3_5 || Version.getAppVersion(app).equals("3.5.3")
|| Version.getAppVersion(app).equals("3.5.4")) { || Version.getAppVersion(app).equals("3.5.4")) {
app.getSettings().migratePreferences(); app.getSettings().migratePreferences();
app.getAppInitializer().addListener(new AppInitializer.AppInitializeListener() { addListener(new AppInitializeListener() {
@Override @Override
public void onProgress(AppInitializer init, AppInitializer.InitEvents event) { public void onProgress(AppInitializer init, InitEvents event) {
if (event.equals(InitEvents.FAVORITES_INITIALIZED)) { if (event.equals(InitEvents.FAVORITES_INITIALIZED)) {
app.getSettings().migrateHomeWorkParkingToFavorites(); app.getSettings().migrateHomeWorkParkingToFavorites();
} }