mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Server: Fix downloading files via the list of formats not working when launching the calibre app from the homescreen on iOS
This commit is contained in:
parent
7cf94768cb
commit
8fcaf05e98
@ -87,8 +87,9 @@ def on_fmt_click(ev):
|
||||
E.div(class_='button-box',
|
||||
create_button(_('Read'), 'book', action.bind(None, read_format)),
|
||||
'\xa0',
|
||||
create_button(_('Download'), 'cloud-download', action.bind(None, download_format),
|
||||
tooltip=_('File size: {}').format(human_readable(sz))),
|
||||
create_button(_('Download'), 'cloud-download', download_url(book_id, fmt),
|
||||
_('File size: {}').format(human_readable(sz)),
|
||||
download_filename=f'{title}.{fmt.toLowerCase()}')
|
||||
)
|
||||
))
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user