fixed share URL
This commit is contained in:
parent
501147ead5
commit
469beb2a57
2 changed files with 4 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# web3terms
|
||||
|
||||
A web app demo featuring [map3terms](https://github.com/randogoth/map3terms)
|
||||
A web app demo featuring [map3terms](https://github.com/randogoth/map3terms)
|
||||
|
||||
>> [https://randogoth.github.io/web3terms/](https://randogoth.github.io/web3terms/)
|
||||
|
|
@ -262,7 +262,7 @@ class _Map3TermsHomeState extends State<Map3TermsHome> {
|
|||
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")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue