@onehat/ui 0.3.326 → 0.3.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -191,7 +191,10 @@ function AttachmentsElement(props) {
|
|
|
191
191
|
},
|
|
192
192
|
onDownload = (id, url) => {
|
|
193
193
|
if (isPwa) {
|
|
194
|
-
|
|
194
|
+
// This doesn't work because iOS doesn't allow you to open another window within a PWA.
|
|
195
|
+
// downloadWithFetch(url);
|
|
196
|
+
|
|
197
|
+
alert('Files cannot be downloaded and viewed within an iOS PWA. Please use the Safari browser instead.');
|
|
195
198
|
} else {
|
|
196
199
|
downloadInBackground(url);
|
|
197
200
|
}
|
package/src/UiGlobals.js
CHANGED