Skip to content

Commit b1a04d6

Browse files
committed
♻️ #15325
1 parent 0019a6d commit b1a04d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/protyle/util/compatibility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const encodeBase64 = (text: string): string => {
1313

1414
for (let i = 0; i < bytes.length; i += chunkSize) {
1515
const chunk = bytes.subarray(i, Math.min(i + chunkSize, bytes.length));
16-
binary += String.fromCharCode.apply(null, chunk);
16+
binary += String.fromCharCode(...chunk);
1717
}
1818

1919
return btoa(binary);

0 commit comments

Comments
 (0)