From 07c74b79f3b07b61ff4a444d94f50d93c9fe1903 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Mon, 2 Dec 2019 13:14:15 +0100 Subject: [PATCH] Use README as index page, add share page with explanation --- app/src/main/res/values/strings.xml | 4 ++-- .../card_locker/LoyaltyCardViewActivityTest.java | 2 +- docs/index.md | 1 + docs/share.md | 10 ++++++++++ 4 files changed, 14 insertions(+), 3 deletions(-) create mode 120000 docs/index.md create mode 100644 docs/share.md diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 740c814ba..dd540c0b7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -130,6 +130,6 @@ Import loyalty card I want to share a loyalty card with you - github.com - /brarcher/loyalty-card-locker + brarcher.github.io + /loyalty-card-locker/share diff --git a/app/src/test/java/protect/card_locker/LoyaltyCardViewActivityTest.java b/app/src/test/java/protect/card_locker/LoyaltyCardViewActivityTest.java index 81132e29f..2d543527f 100644 --- a/app/src/test/java/protect/card_locker/LoyaltyCardViewActivityTest.java +++ b/app/src/test/java/protect/card_locker/LoyaltyCardViewActivityTest.java @@ -611,7 +611,7 @@ public class LoyaltyCardViewActivityTest @Test public void importCard() { - Uri importUri = Uri.parse("https://github.com/brarcher/loyalty-card-locker?store=Example%20Store¬e=&cardid=123456&barcodetype=AZTEC&headercolor=-416706&headertextcolor=-1"); + Uri importUri = Uri.parse("https://brarcher.github.io/loyalty-card-locker/share?store=Example%20Store¬e=&cardid=123456&barcodetype=AZTEC&headercolor=-416706&headertextcolor=-1"); Intent intent = new Intent(); intent.setData(importUri); diff --git a/docs/index.md b/docs/index.md new file mode 120000 index 000000000..32d46ee88 --- /dev/null +++ b/docs/index.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/docs/share.md b/docs/share.md new file mode 100644 index 000000000..c4d1ed8c6 --- /dev/null +++ b/docs/share.md @@ -0,0 +1,10 @@ +# Shared Loyalty Card + +Someone wants to share a loyalty card with you. To import this loyalty card, you will first need to install the Loyalty Card Locker app. It is free, Open Source and contains no ads. + + +Get it on F-Droid + +Get it on Google Play + +After installing the app, just click the link you were given again and choose "Import loyalty card".