Commit graph

15 commits

Author SHA1 Message Date
Satindar Dhillon
1bdd79e873 update macos app 2022-04-08 08:45:30 -07:00
Jackson Harper
d2e14fc935 Allow video playback on iOS
Example page:

https://www.technologyreview.com/2022/03/28/1048355/quantum-computing-has-a-hype-problem
2022-03-29 10:55:48 -07:00
Satindar Dhillon
6f7dd764dd use webviewmanager to resue webviews 2022-03-20 09:29:06 -07:00
Jackson Harper
a58ccb7f14 Use a single process pool for all webviews
This is a first step to improving our caching on iOS.
2022-03-16 10:29:14 -07:00
Jackson Harper
e6b4d80de2 After load set webview to opaque
During the initial load we need the clear + !opaque settings so
the webview does not flash a white background in dark mode. But
after load we want to use the systemBackground colour and an
opaque background, so in dark mode the scrollbars are displayed
correctly. Without this iOS will display a dark scrollbar ontop
of the dark background.

Note that due to a bug in Webkit setting the scrollbar inset
colours doesn't seem to work in current iOS:

https://developer.apple.com/forums/thread/689654
2022-03-06 09:16:40 -08:00
Satindar Dhillon
6a41484bca set navBarHeight in one place 2022-02-23 21:24:05 -08:00
Satindar Dhillon
5e4502719e move LinkItemDetailViewModel into binders package 2022-02-23 16:24:21 -08:00
Satindar Dhillon
2169413554 resolve lint/xcode warnings 2022-02-22 09:17:54 -08:00
Satindar Dhillon
9b017f8737 add os conditionals and bump version number 2022-02-18 13:17:32 -08:00
Jackson Harper
8d743617cb Use the new verticalScrollIndicatorInsets instead of scrollIndicatorInsets 2022-02-17 21:55:22 -08:00
Jackson Harper
e757dbfe68 Use navBarHeight for the ... nav bar height 2022-02-17 21:22:19 -08:00
Jackson Harper
d7d4131f9f Set the scroll indicator offsets on the webview
This prevents the scroll from bouncing when we scroll to the top
we should figure out how to query for the system navigation
bar size and use that instead of hard coding 50.
2022-02-17 20:41:13 -08:00
Satindar Dhillon
ea93f3926e WiP 2022-02-17 16:07:31 -08:00
Satindar Dhillon
7575450121 use scroll view delegate to watch scroll changes and update nav bar visibility 2022-02-15 22:16:01 -08:00
Jackson Harper
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00