diff --git a/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java b/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java index 36e5bf6..68a057c 100644 --- a/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java +++ b/app/src/main/java/com/cringe_studios/cringe_authenticator/MainActivity.java @@ -101,7 +101,7 @@ public class MainActivity extends AppCompatActivity { @Override public void onBackPressed() { Log.i("AMOGUS", "navigateUp"); - if(NavigationUtil.getCurrentFragment(this) instanceof DynamicFragment) { + if(!(NavigationUtil.getCurrentFragment(this) instanceof HomeFragment)) { NavigationUtil.navigate(this, HomeFragment.class, null); } }