diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-10-12 18:56:10 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-10-12 18:56:10 -0500 |
commit | 349cfe7177affde7e3acae2616c6c8a2fa11b1c0 (patch) | |
tree | f2eb183eddae934d115576ad8e61a3dfaef1997e /src/view/routes.ts | |
parent | 0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b (diff) | |
download | voidsky-349cfe7177affde7e3acae2616c6c8a2fa11b1c0.tar.zst |
Add contacts screen
Diffstat (limited to 'src/view/routes.ts')
-rw-r--r-- | src/view/routes.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/routes.ts b/src/view/routes.ts index e7d6de7f3..d75280d14 100644 --- a/src/view/routes.ts +++ b/src/view/routes.ts @@ -2,6 +2,7 @@ import React, {MutableRefObject} from 'react' import {FlatList} from 'react-native' import {IconProp} from '@fortawesome/fontawesome-svg-core' import {Home} from './screens/Home' +import {Contacts} from './screens/Contacts' import {Search} from './screens/Search' import {Notifications} from './screens/Notifications' import {NotFound} from './screens/NotFound' @@ -28,6 +29,7 @@ export type MatchResult = { const r = (pattern: string) => new RegExp('^' + pattern + '([?]|$)', 'i') export const routes: Route[] = [ [Home, 'house', r('/')], + [Contacts, ['far', 'circle-user'], r('/contacts')], [Search, 'magnifying-glass', r('/search')], [Notifications, 'bell', r('/notifications')], [Settings, 'bell', r('/settings')], |