Merge pull request #4246 from urbit/mp/landscape/link-collection-icon

landscape: use 'collections' icon
This commit is contained in:
matildepark 2021-01-07 19:54:24 -05:00 committed by GitHub
commit 71f16fc32b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ import ChatMessage, {MessageWithoutSigil} from "../chat/components/ChatMessage";
function getGraphModuleIcon(module: string) {
if (module === "link") {
return "Links";
return "Collection";
}
return _.capitalize(module);
}

View File

@ -37,7 +37,7 @@ export class OmniboxResult extends Component {
|| icon.toLowerCase() === 'links'
|| icon.toLowerCase() === 'terminal')
{
icon = (icon === 'Link') ? 'Links' :
icon = (icon === 'Link') ? 'Collection' :
(icon === 'Terminal') ? 'Dojo' : icon;
graphic = <Icon display="inline-block" verticalAlign="middle" icon={icon} mr='2' size='16px' color={iconFill} />;
} else if (icon === 'inbox') {

View File

@ -27,7 +27,7 @@ function SidebarItemIndicator(props: { status?: SidebarItemStatus }) {
const getAppIcon = (app: string, mod: string) => {
if (app === "graph") {
if (mod === "link") {
return "Links";
return "Collection";
}
return _.capitalize(mod);
}