Update RemoteDialog.java and styles.xml
This commit is contained in:
@@ -39,7 +39,7 @@ public class RemoteDialog {
|
||||
Thread t = new Thread(() -> {
|
||||
HttpURLConnection urlConnection = null;
|
||||
try {
|
||||
URL url = new URL("https://git.ichibi.eu/penguin86/nextcloud-maps-client/raw/branch/remote-dialog/remote-dialog/data_prod.json");
|
||||
URL url = new URL("https://git.ichibi.eu/penguin86/nextcloud-maps-client/raw/branch/remote-dialog/remote-dialog/data.json");
|
||||
urlConnection = (HttpURLConnection) url.openConnection();
|
||||
InputStream in = new BufferedInputStream(urlConnection.getInputStream());
|
||||
StringBuilder textBuilder = new StringBuilder();
|
||||
|
||||
@@ -57,11 +57,12 @@
|
||||
<!-- Alertdialogs -->
|
||||
<style name="AlertDialogTheme" parent="ThemeOverlay.MaterialComponents.Dialog.Alert">
|
||||
<item name="buttonBarNegativeButtonStyle">@style/NegativeButtonStyle</item>
|
||||
<item name="buttonBarNeutralButtonStyle">@style/NegativeButtonStyle</item>
|
||||
<item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
||||
<item name="android:textColor">@color/inactive</item>
|
||||
<item name="android:textColor">@color/text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
||||
|
||||
Reference in New Issue
Block a user