Fix history imports (#3595)

This commit is contained in:
Emma
2023-05-28 21:57:31 -04:00
committed by GitHub
parent 7d8a4c8cd7
commit 042626349a
@@ -690,7 +690,7 @@ export default defineComponent({
response.filePaths.forEach(filePath => {
if (filePath.endsWith('.db')) {
this.importFreeTubeSubscriptions(textDecode.split('\n'))
this.importFreeTubeHistory(textDecode.split('\n'))
} else if (filePath.endsWith('.json')) {
this.importYouTubeHistory(JSON.parse(textDecode))
}