Добавлена «Отправить через» в Android

This commit is contained in:
AidarKC
2026-11-28 02:02:28 +03:00
parent 34e5fa1403
commit ebd5d37039
20 changed files with 426 additions and 31 deletions
+2
View File
@@ -1,3 +1,4 @@
import { allowShareNavigation } from './services/share-flow.js';
import { parseShineRouteParts } from './services/shine-routes.js';
let previousTrackedPath = '';
@@ -509,6 +510,7 @@ export function navigate(path) {
const cleanPath = toPrettyPath(path);
const nextPath = cleanPath ? `/${cleanPath}` : '/';
const fromPath = window.location.pathname;
if (!allowShareNavigation(nextPath)) return;
if (fromPath !== nextPath) {
previousTrackedPath = currentTrackedPath;
currentTrackedPath = nextPath;