about summary refs log tree commit diff
path: root/src/view/routes.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-10-12 18:56:10 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-10-12 18:56:10 -0500
commit349cfe7177affde7e3acae2616c6c8a2fa11b1c0 (patch)
treef2eb183eddae934d115576ad8e61a3dfaef1997e /src/view/routes.ts
parent0c0c9eb05c2b6c3c92cbfe204423a5e19f86824b (diff)
downloadvoidsky-349cfe7177affde7e3acae2616c6c8a2fa11b1c0.tar.zst
Add contacts screen
Diffstat (limited to 'src/view/routes.ts')
-rw-r--r--src/view/routes.ts2
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')],