Added up nav to EULA

This commit is contained in:
M66B 2021-06-30 11:04:22 +02:00
parent 098133da2f
commit 87222cd225
1 changed files with 3 additions and 0 deletions

View File

@ -249,9 +249,12 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
setTheme(R.style.AppThemeBlueOrangeDark);
else
setTheme(R.style.AppThemeBlueOrangeLight);
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
fragmentTransaction.replace(R.id.content_frame, new FragmentEula()).addToBackStack("eula");
fragmentTransaction.commit();