Remove hardcoded defaults and update manifest.json (#26359)
This commit is contained in:
parent
b9ea639f9d
commit
82cb30373c
2 changed files with 8 additions and 8 deletions
|
@ -77,6 +77,11 @@
|
||||||
"url": "https://play.google.com/store/apps/details?id=im.vector.app",
|
"url": "https://play.google.com/store/apps/details?id=im.vector.app",
|
||||||
"id": "im.vector.app"
|
"id": "im.vector.app"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"platform": "f-droid",
|
||||||
|
"url": "https://f-droid.org/repository/browse/?fdid=im.vector.app",
|
||||||
|
"id": "im.vector.app"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"platform": "itunes",
|
"platform": "itunes",
|
||||||
"url": "https://apps.apple.com/app/vector/id1083446067"
|
"url": "https://apps.apple.com/app/vector/id1083446067"
|
||||||
|
|
|
@ -40,12 +40,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
|
||||||
<p>
|
<p>
|
||||||
<strong>iOS</strong> (iPhone or iPad)
|
<strong>iOS</strong> (iPhone or iPad)
|
||||||
</p>
|
</p>
|
||||||
<a
|
<a href={iosCustomUrl} target="_blank" rel="noreferrer noopener" className="mx_ClearDecoration">
|
||||||
href={iosCustomUrl || "https://apps.apple.com/app/vector/id1083446067"}
|
|
||||||
target="_blank"
|
|
||||||
rel="noreferrer noopener"
|
|
||||||
className="mx_ClearDecoration"
|
|
||||||
>
|
|
||||||
<img height="48" src="themes/element/img/download/apple.svg" alt="Apple App Store" />
|
<img height="48" src="themes/element/img/download/apple.svg" alt="Apple App Store" />
|
||||||
</a>
|
</a>
|
||||||
</>
|
</>
|
||||||
|
@ -63,7 +58,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
|
||||||
// undefined or string
|
// undefined or string
|
||||||
android.push(
|
android.push(
|
||||||
<a
|
<a
|
||||||
href={andCustomUrl || "https://play.google.com/store/apps/details?id=im.vector.app"}
|
href={andCustomUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
className="mx_ClearDecoration"
|
className="mx_ClearDecoration"
|
||||||
|
@ -77,7 +72,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
|
||||||
// undefined or string
|
// undefined or string
|
||||||
android.push(
|
android.push(
|
||||||
<a
|
<a
|
||||||
href={fdroidCustomUrl || "https://f-droid.org/repository/browse/?fdid=im.vector.app"}
|
href={fdroidCustomUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
className="mx_ClearDecoration"
|
className="mx_ClearDecoration"
|
||||||
|
|
Loading…
Reference in a new issue