refactor: remove classic mobile (#1789)

This commit is contained in:
Mo
2022-10-13 14:09:45 -05:00
committed by GitHub
parent 4a59216783
commit 588946898d
1072 changed files with 2972 additions and 19521 deletions

View File

@@ -1,5 +1,4 @@
import { ByteChunker, OnChunkCallback } from '@standardnotes/files'
import { FileReaderInterface } from './../Interface/FileReader'
import { FileSelectionResponse } from '../types'
@@ -48,7 +47,7 @@ async function readFile(
let previousChunk: Uint8Array
const processChunk = async (result: ReadableStreamDefaultReadResult<Uint8Array>): Promise<void> => {
const processChunk = async (result: ReadableStreamReadResult<Uint8Array>): Promise<void> => {
if (result.done) {
await byteChunker.addBytes(previousChunk, true)
return