From f3bd8fb4aadf5c0af30f7c83ac07c48087710073 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Mon, 13 May 2024 21:25:21 -0700 Subject: [PATCH] feat: github sync --- changelog.txt | 3 +++ src/azusa-player-mobile | 2 +- src/components/setting/sync/GithubAuth.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 2d72bae..9d7ca65 100644 --- a/changelog.txt +++ b/changelog.txt @@ -5,6 +5,9 @@ 一切因为使用电闹播放器导致您账号被风控封禁的问题,电闹播放器恕不负责。 +3.1.9: +github同步 + 3.1.8: b站字幕歌词 diff --git a/src/azusa-player-mobile b/src/azusa-player-mobile index 199c7ae..547a8c3 160000 --- a/src/azusa-player-mobile +++ b/src/azusa-player-mobile @@ -1 +1 @@ -Subproject commit 199c7aec6fd6778beefd28d491ce10652b815777 +Subproject commit 547a8c3a6e0f1c9923ac2be9a9612effb09ecb18 diff --git a/src/components/setting/sync/GithubAuth.ts b/src/components/setting/sync/GithubAuth.ts index 152ad8f..2eafef0 100644 --- a/src/components/setting/sync/GithubAuth.ts +++ b/src/components/setting/sync/GithubAuth.ts @@ -61,7 +61,7 @@ const GiteeSyncButton = ({ restoreFromUint8Array, sx }: GenericPropsR) => GenericSyncButton({ restoreFromUint8Array, noxBackup: (v) => noxBackup(v, authToken), - noxRestore: () => noxRestore(authToken), + noxRestore: () => noxRestore(authToken, async (v) => v.arrayBuffer()), login, sx, });