mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 16:46:22 +08:00
fix(android): fix android blob upload (#13435)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved WebView configuration to allow loading mixed content (HTTP and HTTPS) in the Android app. * Enhanced robustness when retrieving upload timestamps, preventing potential errors if data is missing or undefined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -321,7 +321,7 @@ export const NbStoreNativeDBApis: NativeDBApis = {
|
||||
peer,
|
||||
blobId,
|
||||
});
|
||||
return result.uploadedAt ? new Date(result.uploadedAt) : null;
|
||||
return result?.uploadedAt ? new Date(result.uploadedAt) : null;
|
||||
},
|
||||
setBlobUploadedAt: async function (
|
||||
id: string,
|
||||
|
||||
Reference in New Issue
Block a user