update
This commit is contained in:
@@ -14,6 +14,14 @@ impl SidebarTab {
|
||||
}
|
||||
}
|
||||
|
||||
/// Heading for the tab's list of items.
|
||||
pub fn list_title(self) -> &'static str {
|
||||
match self {
|
||||
Self::Inbox => "Direct Messages",
|
||||
Self::Communities => "Communities",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn list_id(self) -> &'static str {
|
||||
match self {
|
||||
Self::Inbox => "sidebar-inbox",
|
||||
|
||||
Reference in New Issue
Block a user