Update RemoteDialog.java and styles.xml

This commit is contained in:
2026-09-02 21:57:40 +02:00
parent 03bf45872f
commit f18b00af16
2 changed files with 4 additions and 3 deletions
@@ -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();
+2 -1
View File
@@ -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">