From 9fc8b3a1885113b8d607736b72adfcfd42e719e1 Mon Sep 17 00:00:00 2001 From: FTCHD <144691102+FTCHD@users.noreply.github.com> Date: Sat, 11 Jul 2026 18:13:19 +0300 Subject: [PATCH] show mobile banner --- src/pages/Settings/MobileSection.tsx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/pages/Settings/MobileSection.tsx b/src/pages/Settings/MobileSection.tsx index a13730a..5907fbc 100644 --- a/src/pages/Settings/MobileSection.tsx +++ b/src/pages/Settings/MobileSection.tsx @@ -3,6 +3,7 @@ import { Button, Input } from '@heroui/react' import { useMutation } from '@tanstack/react-query' import { invoke } from '@tauri-apps/api/core' import { message } from '@tauri-apps/plugin-dialog' +import { openUrl } from '@tauri-apps/plugin-opener' import { CheckIcon, CopyIcon } from 'lucide-react' import { QRCodeSVG } from 'qrcode.react' import { useState } from 'react' @@ -174,31 +175,32 @@ export default function MobileSection() { {!cloudflaredTunnel && (
- Mobile openUrl('https://google.com')} - /> + Mobile - {/*
+

Download on the{' '} openUrl('https://apple.com')} + onClick={() => + openUrl('https://apps.apple.com/app/rclone-ui/id6756127598') + } > App Store {' '} and{' '} openUrl('https://google.com')} + onClick={() => + openUrl( + 'https://play.google.com/store/apps/details?id=com.rclone.mobile' + ) + } > Google Play

-
*/} +
)}