Force vertical action layout

This commit is contained in:
Ali 2021-01-25 18:52:41 +05:00
parent f29cfa3f24
commit 8284600bbf

View File

@ -648,7 +648,7 @@ public class ShareRootControllerImpl {
} }
}) })
}), TextAlertAction(type: .genericAction, title: presentationData.strings.Common_Cancel, action: { }), TextAlertAction(type: .genericAction, title: presentationData.strings.Common_Cancel, action: {
})], parseMarkdown: true) })], actionLayout: .vertical, parseMarkdown: true)
strongSelf.mainWindow?.present(controller, on: .root) strongSelf.mainWindow?.present(controller, on: .root)
} }
@ -861,7 +861,7 @@ public class ShareRootControllerImpl {
} }
}) })
}), TextAlertAction(type: .genericAction, title: presentationData.strings.Common_Cancel, action: { }), TextAlertAction(type: .genericAction, title: presentationData.strings.Common_Cancel, action: {
})], parseMarkdown: true) })], actionLayout: .vertical, parseMarkdown: true)
strongSelf.mainWindow?.present(controller, on: .root) strongSelf.mainWindow?.present(controller, on: .root)
} }