feat(hardcover): auto-connect to WiFi before syncing

This commit is contained in:
Justin Oros
2026-04-27 13:25:30 -07:00
parent b7223f4375
commit 850e674706
3 changed files with 75 additions and 118 deletions
+3 -2
View File
@@ -15,8 +15,9 @@ class HardcoverSyncActivity final : public Activity {
void render(RenderLock&&) override;
private:
enum State { SYNCING, DONE };
State state = SYNCING;
enum State { CONNECTING, SYNCING, DONE };
State state = CONNECTING;
HardcoverPlugin::SyncResult result = HardcoverPlugin::SyncResult::OK;
void doSync();
void startWifiThenSync();
};