aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-02-24 16:01:46 +0100
committerChristian Schneppe <christian@pix-art.de>2018-02-24 16:01:46 +0100
commit06014f81e5e312bf0dec557fb23ba49d37ba3270 (patch)
tree4ac65e7c88fb701df9aef4e9c2fbd2af079d5fe8 /src/main/java/de/pixart/messenger
parent2a9689010d2dbceab46b6086d9184f9e56394c0e (diff)
fixed wrong CHANGELOG_URL in updater
Diffstat (limited to '')
-rw-r--r--src/main/java/de/pixart/messenger/Config.java1
-rw-r--r--src/main/java/de/pixart/messenger/ui/UpdaterActivity.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/Config.java b/src/main/java/de/pixart/messenger/Config.java
index 33c041d2e..67577be03 100644
--- a/src/main/java/de/pixart/messenger/Config.java
+++ b/src/main/java/de/pixart/messenger/Config.java
@@ -41,6 +41,7 @@ public final class Config {
public static final String inviteUserURL = "https://jabber.pix-art.de/i/";
public static final String inviteMUCURL = "https://jabber.pix-art.de/j/";
+ public static final String CHANGELOG_URL = "https://github.com/kriztan/Pix-Art-Messenger/blob/master/CHANGELOG.md";
public static final String XMPP_IP = null; //BuildConfig.XMPP_IP; // set to null means disable
public static final Integer[] XMPP_Ports = null; //BuildConfig.XMPP_Ports; // set to null means disable
diff --git a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
index c77d7f16a..8a23741ef 100644
--- a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
@@ -136,7 +136,7 @@ public class UpdaterActivity extends XmppActivity {
}
})
.setNeutralButton(R.string.changelog, (dialog, id) -> {
- Uri uri = Uri.parse("https://github.com/kriztan/Conversations/blob/master/CHANGELOG.md"); // missing 'http://' will cause crashed
+ Uri uri = Uri.parse(Config.CHANGELOG_URL); // missing 'http://' will cause crashed
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);