mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
landscape: "DMs + Drafts" -> "My Channels"
This commit is contained in:
parent
3fce1cdcb6
commit
378ad0690f
@ -63,7 +63,7 @@ const appIndex = function (apps) {
|
|||||||
|
|
||||||
const otherIndex = function() {
|
const otherIndex = function() {
|
||||||
const other = [];
|
const other = [];
|
||||||
other.push(result('DMs + Drafts', '/~landscape/home', 'home', null));
|
other.push(result('My Channels', '/~landscape/home', 'home', null));
|
||||||
other.push(result('Notifications', '/~notifications', 'inbox', null));
|
other.push(result('Notifications', '/~notifications', 'inbox', null));
|
||||||
other.push(result('Profile and Settings', '/~profile/identity', 'profile', null));
|
other.push(result('Profile and Settings', '/~profile/identity', 'profile', null));
|
||||||
other.push(result('Log Out', '/~/logout', 'logout', null));
|
other.push(result('Log Out', '/~/logout', 'logout', null));
|
||||||
|
@ -6,7 +6,7 @@ export function getTitleFromWorkspace(
|
|||||||
) {
|
) {
|
||||||
switch (workspace.type) {
|
switch (workspace.type) {
|
||||||
case "home":
|
case "home":
|
||||||
return "DMs + Drafts";
|
return "My Channels";
|
||||||
case "group":
|
case "group":
|
||||||
const association = associations.groups[workspace.group];
|
const association = associations.groups[workspace.group];
|
||||||
return association?.metadata?.title || "";
|
return association?.metadata?.title || "";
|
||||||
|
@ -76,9 +76,9 @@ export default function LaunchApp(props) {
|
|||||||
<Row alignItems='center'>
|
<Row alignItems='center'>
|
||||||
<Icon
|
<Icon
|
||||||
color="black"
|
color="black"
|
||||||
icon="Mail"
|
icon="Home"
|
||||||
/>
|
/>
|
||||||
<Text ml="2" mt='1px' color="black">DMs + Drafts</Text>
|
<Text ml="2" mt='1px' color="black">My Channels</Text>
|
||||||
</Row>
|
</Row>
|
||||||
</Box>
|
</Box>
|
||||||
</Tile>
|
</Tile>
|
||||||
|
@ -53,7 +53,7 @@ export class OmniboxResult extends Component {
|
|||||||
text = text.startsWith('Profile') ? window.ship : text;
|
text = text.startsWith('Profile') ? window.ship : text;
|
||||||
graphic = <Sigil color={color} classes='dib flex-shrink-0 v-mid mr2' ship={text} size={18} icon padded />;
|
graphic = <Sigil color={color} classes='dib flex-shrink-0 v-mid mr2' ship={text} size={18} icon padded />;
|
||||||
} else if (icon === 'home') {
|
} else if (icon === 'home') {
|
||||||
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Mail' mr='2' size='18px' color={iconFill} />;
|
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Home' mr='2' size='18px' color={iconFill} />;
|
||||||
} else if (icon === 'notifications') {
|
} else if (icon === 'notifications') {
|
||||||
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Inbox' mr='2' size='18px' color={iconFill} />;
|
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Inbox' mr='2' size='18px' color={iconFill} />;
|
||||||
} else {
|
} else {
|
||||||
|
@ -117,9 +117,9 @@ export function GroupSwitcher(props: {
|
|||||||
mr={2}
|
mr={2}
|
||||||
color="gray"
|
color="gray"
|
||||||
display="block"
|
display="block"
|
||||||
icon="Mail"
|
icon="Home"
|
||||||
/>
|
/>
|
||||||
<Text>DMs + Drafts</Text>
|
<Text>My Channels</Text>
|
||||||
</GroupSwitcherItem>}
|
</GroupSwitcherItem>}
|
||||||
<RecentGroups
|
<RecentGroups
|
||||||
recent={props.recentGroups}
|
recent={props.recentGroups}
|
||||||
|
Loading…
Reference in New Issue
Block a user