There was an error while loading. Please reload this page.
1 parent 0019a6d commit b1a04d6Copy full SHA for b1a04d6
1 file changed
app/src/protyle/util/compatibility.ts
@@ -13,7 +13,7 @@ export const encodeBase64 = (text: string): string => {
13
14
for (let i = 0; i < bytes.length; i += chunkSize) {
15
const chunk = bytes.subarray(i, Math.min(i + chunkSize, bytes.length));
16
- binary += String.fromCharCode.apply(null, chunk);
+ binary += String.fromCharCode(...chunk);
17
}
18
19
return btoa(binary);
0 commit comments