Move askForComprehensive from DrugListActivity.java to WelcomeActivity.java

This commit is contained in:
jacques 2023-01-09 17:28:33 +01:00
parent f13860c000
commit e9f5a373bb

View file

@ -140,14 +140,6 @@ public class DrugListActivity extends AppCompatActivity {
Log.i(TAG, "Launch tutorial"); Log.i(TAG, "Launch tutorial");
startActivity(new Intent(this, WelcomeActivity.class)); startActivity(new Intent(this, WelcomeActivity.class));
// } // }
PrefManager prefManager = new PrefManager(this);
if (!prefManager.isUnderstood()) {
askForComprehensive();
prefManager.setUnderstood(true);
}
} }
@Override @Override