Skip to content

Commit

Permalink
missing version check on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
TrianguloY committed Oct 8, 2023
1 parent c893de5 commit 7b3f11b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import android.widget.Toast;

import com.trianguloy.urlchecker.R;
import com.trianguloy.urlchecker.modules.companions.VersionManager;
import com.trianguloy.urlchecker.utilities.AndroidSettings;
import com.trianguloy.urlchecker.utilities.AndroidUtils;
import com.trianguloy.urlchecker.utilities.PackageUtils;
Expand All @@ -31,6 +32,9 @@ protected void onCreate(Bundle savedInstanceState) {
AndroidSettings.setLocale(this);
setContentView(R.layout.activity_main);

// mark as seen if required
VersionManager.check(this);

// open tutorial if not done yet
if (!TutorialActivity.DONE(this).get()) {
PackageUtils.startActivity(new Intent(this, TutorialActivity.class), R.string.toast_noApp, this);
Expand Down

0 comments on commit 7b3f11b

Please sign in to comment.