fixed EulaHelper AlertDialog

This commit is contained in:
Peter Siegmund
2016-07-19 13:28:05 +02:00
parent 4f8f60f04e
commit adc809d131
3 changed files with 6 additions and 2 deletions
@@ -348,4 +348,8 @@
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
</style>
<style name="AppTheme.AlertDialog" parent="Theme.AppCompat.Light.Dialog.Alert">
<item name="colorAccent">@color/fiori_primary_color</item>
</style>
</resources>
@@ -46,7 +46,7 @@ public class StartActivity extends AbstractStartActivity {
refreshDatabase();
if (!EulaHelper.with(this).isEulaAccepted()) {
EulaHelper.with(this).showEulaDialog();
EulaHelper.with(this).showEulaDialog(R.style.AppTheme_AlertDialog);
}
}
@@ -31,7 +31,7 @@ public class StartActivity extends AbstractStartActivity {
replaceFragment(R.id.content_frame, new HomeFragment());
if (!EulaHelper.with(this).isEulaAccepted()) {
EulaHelper.with(this).showEulaDialog(R.style.Base_Theme_AppCompat_Dialog_Alert);
EulaHelper.with(this).showEulaDialog(R.style.AppTheme_AlertDialog);
}
}