Skip to content

Commit 13784b1

Browse files
committed
fix: custom camera back button nav via angular router
1 parent 9f72049 commit 13784b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/features/home/custom-camera/custom-camera.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export class CustomCameraPage implements OnInit, OnDestroy {
242242
}
243243

244244
async leaveCustomCamera() {
245-
return this.location.back();
245+
this.router.navigate(['..']);
246246
}
247247

248248
async captureFromGoPro() {

0 commit comments

Comments
 (0)