Merge pull request #1938 from vitorpamplona/claude/organize-favorite-relay-feeds-DL3o2
feat: separate favorite relay feeds into own category in nav popup
This commit is contained in:
+2
@@ -328,6 +328,7 @@ private enum class FeedGroup(
|
|||||||
HASHTAGS(R.string.feed_group_hashtags),
|
HASHTAGS(R.string.feed_group_hashtags),
|
||||||
COMMUNITIES(R.string.feed_group_communities),
|
COMMUNITIES(R.string.feed_group_communities),
|
||||||
LISTS(R.string.feed_group_lists),
|
LISTS(R.string.feed_group_lists),
|
||||||
|
RELAYS(R.string.feed_group_relays),
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun groupFeedDefinitions(options: ImmutableList<FeedDefinition>): Map<FeedGroup, List<IndexedFeedDefinition>> {
|
private fun groupFeedDefinitions(options: ImmutableList<FeedDefinition>): Map<FeedGroup, List<IndexedFeedDefinition>> {
|
||||||
@@ -337,6 +338,7 @@ private fun groupFeedDefinitions(options: ImmutableList<FeedDefinition>): Map<Fe
|
|||||||
is HashtagName -> FeedGroup.HASHTAGS
|
is HashtagName -> FeedGroup.HASHTAGS
|
||||||
is CommunityName -> FeedGroup.COMMUNITIES
|
is CommunityName -> FeedGroup.COMMUNITIES
|
||||||
is PeopleListName -> FeedGroup.LISTS
|
is PeopleListName -> FeedGroup.LISTS
|
||||||
|
is RelayName -> FeedGroup.RELAYS
|
||||||
else -> FeedGroup.FEEDS
|
else -> FeedGroup.FEEDS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1568,6 +1568,7 @@
|
|||||||
<string name="feed_group_hashtags">Hashtags</string>
|
<string name="feed_group_hashtags">Hashtags</string>
|
||||||
<string name="feed_group_communities">Communities</string>
|
<string name="feed_group_communities">Communities</string>
|
||||||
<string name="feed_group_lists">Lists</string>
|
<string name="feed_group_lists">Lists</string>
|
||||||
|
<string name="feed_group_relays">Relays</string>
|
||||||
|
|
||||||
<string name="temporary_account">Log off on device lock</string>
|
<string name="temporary_account">Log off on device lock</string>
|
||||||
<string name="private_message">Private Message</string>
|
<string name="private_message">Private Message</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user