This commit is contained in:
LucasGGamerM
2022-12-25 11:58:23 -03:00
parent d66a4c0920
commit c5fcf49eda
2 changed files with 22 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ package org.joinmastodon.android.fragments;
import android.animation.ObjectAnimator;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Canvas;
@@ -267,7 +268,9 @@ public class SettingsFragment extends MastodonToolbarFragment{
}
private void onGetChangelogClick(){
GithubSelfUpdater.getInstance().getChangelog();
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(getContext());
alertDialogBuilder.setTitle("Something TODO remove this");
alertDialogBuilder.setMessage(GithubSelfUpdater.getInstance().getChangelog());
}
private void onThemePreferenceClick(GlobalUserPreferences.ThemePreference theme){