tutorial: revive in omnibox

This commit is contained in:
Liam Fitzgerald 2021-02-19 14:23:39 +10:00
parent fdc32b24a9
commit a373559626
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 5 additions and 1 deletions

View File

@ -73,6 +73,7 @@ const appIndex = function (apps) {
const otherIndex = function() { const otherIndex = function() {
const other = []; const other = [];
other.push(result('My Channels', '/~landscape/home', 'home', null)); other.push(result('My Channels', '/~landscape/home', 'home', null));
other.push(result('Tutorial', '/?tutorial=true', 'tutorial', null));
other.push(result('Notifications', '/~notifications', 'inbox', null)); other.push(result('Notifications', '/~notifications', 'inbox', null));
other.push(result('Profile and Settings', `/~profile/~${window.ship}`, 'profile', null)); other.push(result('Profile and Settings', `/~profile/~${window.ship}`, 'profile', null));
other.push(result('Messages', '/~landscape/messages', 'messages', null)); other.push(result('Messages', '/~landscape/messages', 'messages', null));

View File

@ -58,7 +58,10 @@ export class OmniboxResult extends Component {
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 if (icon === 'messages') { } else if (icon === 'messages') {
graphic = <Icon display='inline-block' verticalAlign='middle' icon='Users' mr='2' size='18px' color={iconFill} />; graphic = <Icon display='inline-block' verticalAlign='middle' icon='Users' mr='2' size='18px' color={iconFill} />;
} else { } else if (icon === 'tutorial') {
graphic = <Icon display='inline-block' verticalAlign='middle' icon='NullIcon' mr='2' size='18px' color={iconFill} />;
}
else {
graphic = <Icon display='inline-block' icon='NullIcon' verticalAlign="middle" mr='2' size="16px" color={iconFill} />; graphic = <Icon display='inline-block' icon='NullIcon' verticalAlign="middle" mr='2' size="16px" color={iconFill} />;
} }