1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Sharing works in simulator

This commit is contained in:
Zhiyuan Zheng
2022-05-02 22:31:22 +02:00
parent 829a25b76b
commit 43c2297387
22 changed files with 1301 additions and 114 deletions

View File

@ -38,6 +38,8 @@ const composeParseState = (
params: NonNullable<RootStackParamList['Screen-Compose']>
): ComposeState => {
switch (params.type) {
case 'share':
return { ...composeInitialState, dirty: true, timestamp: Date.now() }
case 'edit':
case 'deleteEdit':
return {