about summary refs log tree commit diff
path: root/src/view/shell/mobile/accounts-menu.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/shell/mobile/accounts-menu.tsx')
-rw-r--r--src/view/shell/mobile/accounts-menu.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/shell/mobile/accounts-menu.tsx b/src/view/shell/mobile/accounts-menu.tsx
index e3b61ce42..24b614cec 100644
--- a/src/view/shell/mobile/accounts-menu.tsx
+++ b/src/view/shell/mobile/accounts-menu.tsx
@@ -12,9 +12,14 @@ import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
 import {AVIS} from '../../lib/assets'
 import {s, colors} from '../../lib/styles'
 
-export function createAccountsMenu(): RootSiblings {
+export function createAccountsMenu({
+  debug_onPressItem,
+}: {
+  debug_onPressItem: () => void
+}): RootSiblings {
   const onPressItem = (_index: number) => {
     sibling.destroy()
+    debug_onPressItem() // TODO
   }
   const onOuterPress = () => sibling.destroy()
   const sibling = new RootSiblings(