From 469beb2a57e50715949eeea0d971e0763e3a320e Mon Sep 17 00:00:00 2001 From: randogoth Date: Wed, 19 Feb 2025 11:07:34 +0200 Subject: [PATCH] fixed share URL --- README.md | 4 +++- lib/main.dart | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aafb109..a6d8509 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # web3terms -A web app demo featuring [map3terms](https://github.com/randogoth/map3terms) \ No newline at end of file +A web app demo featuring [map3terms](https://github.com/randogoth/map3terms) + +>> [https://randogoth.github.io/web3terms/](https://randogoth.github.io/web3terms/) \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index ab29562..9c6b36e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -262,7 +262,7 @@ class _Map3TermsHomeState extends State { child: FloatingActionButton( onPressed: () { final String terms = _inputController.text.replaceAll(" ", "-"); // Convert to URL format - final String shareableUrl = "https://yourapp.com/?terms=$terms"; + final String shareableUrl = "https://randogoth.github.io/web3terms/#/?terms=$terms"; Clipboard.setData(ClipboardData(text: shareableUrl)); ScaffoldMessenger.of(context).showSnackBar( SnackBar(content: Text("Copied to clipboard: $shareableUrl")),