fixed wrong CHANGELOG_URL in updater
This commit is contained in:
parent
2a9689010d
commit
06014f81e5
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in a new issue