diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java index ad3e23606..354ae96fc 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ComposeFragment.java @@ -1029,7 +1029,8 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr UiUtils.enablePopupMenuIcons(getActivity(), menu); m.setGroupCheckable(0, true, true); m.findItem(switch(statusVisibility){ - case PUBLIC, UNLISTED -> R.id.vis_public; + case PUBLIC -> R.id.vis_public; + case UNLISTED -> R.id.vis_unlisted; case PRIVATE -> R.id.vis_followers; case DIRECT -> R.id.vis_private; }).setChecked(true); @@ -1039,6 +1040,8 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr int id=item.getItemId(); if(id==R.id.vis_public){ statusVisibility=StatusPrivacy.PUBLIC; + }else if(id==R.id.vis_unlisted){ + statusVisibility=StatusPrivacy.UNLISTED; }else if(id==R.id.vis_followers){ statusVisibility=StatusPrivacy.PRIVATE; }else if(id==R.id.vis_private){ diff --git a/mastodon/src/main/res/menu/compose_visibility.xml b/mastodon/src/main/res/menu/compose_visibility.xml index 0729597d8..d53a07394 100644 --- a/mastodon/src/main/res/menu/compose_visibility.xml +++ b/mastodon/src/main/res/menu/compose_visibility.xml @@ -3,6 +3,9 @@ + diff --git a/mastodon/src/main/res/values-de-rDE/strings.xml b/mastodon/src/main/res/values-de-rDE/strings.xml index b4e4f9451..3819178ae 100644 --- a/mastodon/src/main/res/values-de-rDE/strings.xml +++ b/mastodon/src/main/res/values-de-rDE/strings.xml @@ -213,6 +213,7 @@ Alternativtext erscheint für blinde Menschen. Versuche, nur so viele Details einzubeziehen, um den Kontext zu verstehen. z.B. Eine Giraffe auf einem Dreirad während sie eine Banane isst Öffentlich + Nicht gelistet Nur Folgende Nur Leute, die ich erwähne Alle diff --git a/mastodon/src/main/res/values/strings.xml b/mastodon/src/main/res/values/strings.xml index da200da66..614c933aa 100644 --- a/mastodon/src/main/res/values/strings.xml +++ b/mastodon/src/main/res/values/strings.xml @@ -218,6 +218,7 @@ Alt text describes your photos for people with low or no vision. Try to only include enough detail to understand the context. e.g. A dog looking around suspiciously with narrowed eyes at the camera. Public + Unlisted Followers only Only people I mention All