parent
2dccec99cc
commit
2b2e4845a1
|
@ -187,7 +187,7 @@ public class SettingsFragment extends MastodonToolbarFragment{
|
||||||
items.add(checkForUpdateItem);
|
items.add(checkForUpdateItem);
|
||||||
}
|
}
|
||||||
// TODO fix this up tomorrow, by probably just making another method for chacking and displaying the new changelog
|
// 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.sk_settings_contribute, ()->UiUtils.launchWebBrowser(getActivity(), "https://github.com/LucasGGamerM/moshidon")));
|
||||||
items.add(new TextItem(R.string.settings_clear_cache, this::clearImageCache));
|
items.add(new TextItem(R.string.settings_clear_cache, this::clearImageCache));
|
||||||
|
@ -266,10 +266,6 @@ public class SettingsFragment extends MastodonToolbarFragment{
|
||||||
E.unregister(this);
|
E.unregister(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onGetChangelogClick(){
|
|
||||||
GithubSelfUpdater.getInstance().getChangelog();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void onThemePreferenceClick(GlobalUserPreferences.ThemePreference theme){
|
private void onThemePreferenceClick(GlobalUserPreferences.ThemePreference theme){
|
||||||
GlobalUserPreferences.theme=theme;
|
GlobalUserPreferences.theme=theme;
|
||||||
GlobalUserPreferences.save();
|
GlobalUserPreferences.save();
|
||||||
|
|
|
@ -89,5 +89,4 @@
|
||||||
<string name="sk_reblog_with_visibility">Reblog with visibility</string>
|
<string name="sk_reblog_with_visibility">Reblog with visibility</string>
|
||||||
<string name="sk_quote_post">Post about this</string>
|
<string name="sk_quote_post">Post about this</string>
|
||||||
<string name="sk_hashtags_you_follow">Hashtags you follow</string>
|
<string name="sk_hashtags_you_follow">Hashtags you follow</string>
|
||||||
<string name="sk_get_changelog">Get changelog</string>
|
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue