Merge pull request #5010 from mempool/mononaut/tracker-tx-routing

Transparently redirect direct mobile tx visits to pizza tracker
This commit is contained in:
wiz authored and GitHub committed 2024-08-01 14:30:56 -04:00
commit 94e223e8da
6 files changed
+60 -14

No files matched your search

@@ -518,6 +518,13 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
});
}
}
if (window.innerWidth <= 767.98) {
this.router.navigate([this.relativeUrlPipe.transform('/tx'), this.txId], {
queryParamsHandling: 'merge',
preserveFragment: true,
queryParams: { mode: 'details' },
});
}
this.seoService.setTitle(
$localize`:@@bisq.transaction.browser-title:Transaction: ${this.txId}:INTERPOLATION:`
);