diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java index 843c98346..6c3c01116 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/SettingsFragment.java @@ -348,6 +348,10 @@ public class SettingsFragment extends MastodonToolbarFragment{ if(updateItem != null && list.findViewHolderForAdapterPosition(0) instanceof UpdateViewHolder uvh){ uvh.bind(updateItem); } + + if (ev.state == GithubSelfUpdater.UpdateState.NO_UPDATE) { + Toast.makeText(getActivity(), R.string.no_update_available, Toast.LENGTH_SHORT).show(); + } } private static abstract class Item{ diff --git a/mastodon/src/main/res/values-de-rDE/strings.xml b/mastodon/src/main/res/values-de-rDE/strings.xml index 3273e2ec1..90baeca27 100644 --- a/mastodon/src/main/res/values-de-rDE/strings.xml +++ b/mastodon/src/main/res/values-de-rDE/strings.xml @@ -393,5 +393,6 @@ Download (%s) Installieren - Auf Update prüfen + Auf Update prüfen + Kein Update verfügbar diff --git a/mastodon/src/main/res/values/strings.xml b/mastodon/src/main/res/values/strings.xml index 20d53fbc5..3c78d891f 100644 --- a/mastodon/src/main/res/values/strings.xml +++ b/mastodon/src/main/res/values/strings.xml @@ -403,6 +403,7 @@ Download (%s) Install Check for update + No update available Mastodon and your privacy Although the Mastodon app does not collect any data, the server you sign up through may have a different policy. Take a minute to review and agree to the Mastodon app privacy policy and your server\'s privacy policy. I Agree