diff --git a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java index 492d724a9..a9e9265ee 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java +++ b/mastodon/src/main/java/org/joinmastodon/android/PushNotificationReceiver.java @@ -160,6 +160,8 @@ public class PushNotificationReceiver extends BroadcastReceiver{ case FOLLOW -> builder.setSmallIcon(R.drawable.ic_fluent_person_add_24_filled); case MENTION -> builder.setSmallIcon(R.drawable.ic_fluent_mention_24_filled); case POLL -> builder.setSmallIcon(R.drawable.ic_fluent_poll_24_filled); + case STATUS -> R.drawable.ic_fluent_chat_24_filled; + default -> builder.setSmallIcon(R.drawable.ic_ntf_logo); } }else{ diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java index 30aa3cfca..ce67ac2b4 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/discover/DiscoverFragment.java @@ -62,7 +62,7 @@ public class DiscoverFragment extends AppKitFragment implements ScrollableToTop, private String accountID; private Runnable searchDebouncer=this::onSearchChangedDebounced; - private final boolean noFederated = !GlobalUserPreferences.showFederatedTimeline; +// private final boolean noFederated = !GlobalUserPreferences.showFederatedTimeline; @Override public void onCreate(Bundle savedInstanceState){ @@ -324,7 +324,7 @@ public class DiscoverFragment extends AppKitFragment implements ScrollableToTop, } private Fragment getFragmentForPage(int page){ - if (noFederated && page > 0) page++; +// if (noFederated && page > 0) page++; // return switch(page){ // case 0 -> localTimelineFragment; diff --git a/mastodon/src/main/java/org/joinmastodon/android/model/TimelineDefinition.java b/mastodon/src/main/java/org/joinmastodon/android/model/TimelineDefinition.java index 1f3cc936d..4b48934ca 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/model/TimelineDefinition.java +++ b/mastodon/src/main/java/org/joinmastodon/android/model/TimelineDefinition.java @@ -169,7 +169,7 @@ public class TimelineDefinition { HOME(R.drawable.ic_fluent_home_24_regular, R.string.sk_timeline_home, true), LOCAL(R.drawable.ic_fluent_people_community_24_regular, R.string.sk_timeline_local, true), FEDERATED(R.drawable.ic_fluent_earth_24_regular, R.string.sk_timeline_federated, true), - POST_NOTIFICATIONS(R.drawable.ic_fluent_alert_24_regular, R.string.sk_timeline_posts, true), + POST_NOTIFICATIONS(R.drawable.ic_fluent_chat_24_regular, R.string.sk_timeline_posts, true), LIST(R.drawable.ic_fluent_people_list_24_regular, R.string.sk_list, true), HASHTAG(R.drawable.ic_fluent_number_symbol_24_regular, R.string.sk_hashtag, true); diff --git a/mastodon/src/main/res/drawable/ic_fluent_chat_24_filled.xml b/mastodon/src/main/res/drawable/ic_fluent_chat_24_filled.xml new file mode 100644 index 000000000..4757c7084 --- /dev/null +++ b/mastodon/src/main/res/drawable/ic_fluent_chat_24_filled.xml @@ -0,0 +1,3 @@ + + + diff --git a/mastodon/src/main/res/drawable/ic_fluent_chat_24_regular.xml b/mastodon/src/main/res/drawable/ic_fluent_chat_24_regular.xml new file mode 100644 index 000000000..0c0b72c3d --- /dev/null +++ b/mastodon/src/main/res/drawable/ic_fluent_chat_24_regular.xml @@ -0,0 +1,3 @@ + + +