Revert "Its some steps done"

This reverts commit d66a4c0920.
This commit is contained in:
LucasGGamerM 2022-12-25 14:21:09 -03:00
parent 2dccec99cc
commit 2b2e4845a1
2 changed files with 1 additions and 6 deletions

View File

@ -187,7 +187,7 @@ public class SettingsFragment extends MastodonToolbarFragment{
items.add(checkForUpdateItem);
}
// TODO fix this up tomorrow, by probably just making another method for chacking and displaying the new changelog
items.add(new TextItem(R.string.sk_get_changelog, this::onGetChangelogClick));
items.add(new TextItem(R.string.get_changelog, GithubSelfUpdater.getInstance()::getChangelog);
items.add(new TextItem(R.string.sk_settings_contribute, ()->UiUtils.launchWebBrowser(getActivity(), "https://github.com/LucasGGamerM/moshidon")));
items.add(new TextItem(R.string.settings_clear_cache, this::clearImageCache));
@ -266,10 +266,6 @@ public class SettingsFragment extends MastodonToolbarFragment{
E.unregister(this);
}
private void onGetChangelogClick(){
GithubSelfUpdater.getInstance().getChangelog();
}
private void onThemePreferenceClick(GlobalUserPreferences.ThemePreference theme){
GlobalUserPreferences.theme=theme;
GlobalUserPreferences.save();

View File

@ -89,5 +89,4 @@
<string name="sk_reblog_with_visibility">Reblog with visibility</string>
<string name="sk_quote_post">Post about this</string>
<string name="sk_hashtags_you_follow">Hashtags you follow</string>
<string name="sk_get_changelog">Get changelog</string>
</resources>