diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 83f2ea6a..4b3c2db0 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2852,7 +2852,8 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
2852 | setUrl_UploadWidget(upload, d->mod.url); | 2852 | setUrl_UploadWidget(upload, d->mod.url); |
2853 | setResponseViewer_UploadWidget(upload, d); | 2853 | setResponseViewer_UploadWidget(upload, d); |
2854 | addChild_Widget(get_Root()->widget, iClob(upload)); | 2854 | addChild_Widget(get_Root()->widget, iClob(upload)); |
2855 | finalizeSheet_Mobile(as_Widget(upload)); | 2855 | // finalizeSheet_Mobile(as_Widget(upload)); |
2856 | setupSheetTransition_Mobile(as_Widget(upload), iTrue); | ||
2856 | postRefresh_App(); | 2857 | postRefresh_App(); |
2857 | } | 2858 | } |
2858 | return iTrue; | 2859 | return iTrue; |
@@ -3679,16 +3680,10 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
3679 | { "---" }, | 3680 | { "---" }, |
3680 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | 3681 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, |
3681 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | 3682 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, |
3682 | #if defined (iPlatformMobile) | ||
3683 | { "---" }, | ||
3684 | { "${menu.page.copyurl}", 0, 0, "document.copylink" } }, | ||
3685 | 14); | ||
3686 | #else | ||
3687 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | 3683 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, |
3688 | { "---" }, | 3684 | { "---" }, |
3689 | { "${menu.page.copyurl}", 0, 0, "document.copylink" } }, | 3685 | { "${menu.page.copyurl}", 0, 0, "document.copylink" } }, |
3690 | 15); | 3686 | 15); |
3691 | #endif | ||
3692 | if (isEmpty_Range(&d->selectMark)) { | 3687 | if (isEmpty_Range(&d->selectMark)) { |
3693 | pushBackN_Array( | 3688 | pushBackN_Array( |
3694 | &items, | 3689 | &items, |