also looking at this
feat: native trail maps and complete native mobile screens
#1017
60 files
+2505
-823
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -135,8 +135,8 @@ async function recover() { | ||
| 135 | 135 | if (saved && host?.id===saved.id && !saved.pending) { |
| 136 | 136 | const fixes=await craft.location!.readRecording({expectedId:saved.id!}) |
| 137 | 137 | if (!current()) return |
| 138 | recording.set({...saved,phase:host.active ? 'recording' : 'stopped',startedAt:host.startedAt ?? saved.startedAt,...host.active ? {} : {endedAt:saved.endedAt ?? Date.now()}}) | |
| 138 | 139 | append(fixes) |
| 139 | recording.set({...recording()!,phase:host.active ? 'recording' : 'stopped',startedAt:host.startedAt ?? saved.startedAt,...host.active ? {} : {endedAt:saved.endedAt ?? Date.now()}}) | |
| 140 | 140 | await persist(recording()!) |
| 141 | 141 | if (!current()) return |
| 142 | 142 | if(host.active) attachWatch() |