mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-19 20:25:31 +00:00
fixed EulaHelper AlertDialog
This commit is contained in:
@@ -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>
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user