don't differentiate name between platforms

This commit is contained in:
Bruno Windels
2020-12-07 14:06:16 +01:00
parent bcd1cbc1b1
commit 614388e663
5 changed files with 8 additions and 19 deletions
+1 -9
View File
@@ -37,6 +37,7 @@ export class Element {
get appleAssociatedAppId() { return "7J4U792NQT.im.vector.app"; }
get name() {return "Element"; }
get description() { return 'Fully-featured Matrix client, used by millions.'; }
get homepage() { return ; } // prevents a visit app homepage button from appearing
@@ -71,15 +72,6 @@ export class Element {
getLinkInstructions(platform, link) {}
getCopyString(platform, link) {}
getName(platform) {
if (platform === Platform.DesktopWeb || platform === Platform.MobileWeb) {
return "Element Web";
} else {
return "Element";
}
}
getInstallLinks(platform) {
switch (platform) {
case Platform.iOS: return [new AppleStoreLink('vector', 'id1083446067')];
+1 -1
View File
@@ -21,7 +21,7 @@ import {Maturity, Platform, LinkKind, FlathubLink} from "../types.js";
*/
export class Fractal {
get id() { return "fractal"; }
getName(platform) { return "Fractal"; }
get name() { return "Fractal"; }
get icon() { return "images/client-icons/fractal.png"; }
get author() { return "Daniel Garcia Moreno"; }
get homepage() { return "https://gitlab.gnome.org/GNOME/fractal"; }
+1 -1
View File
@@ -21,7 +21,7 @@ import {Maturity, Platform, LinkKind, FlathubLink} from "../types.js";
*/
export class Nheko {
get id() { return "nheko"; }
getName(platform) { return "Nheko"; }
get name() { return "Nheko"; }
get icon() { return "images/client-icons/nheko.svg"; }
get author() { return "mujx, red_sky, deepbluev7, Konstantinos Sideris"; }
get homepage() { return "https://github.com/Nheko-Reborn/nheko"; }
+1 -1
View File
@@ -21,7 +21,7 @@ import {Maturity, Platform, LinkKind, WebsiteLink} from "../types.js";
*/
export class Weechat {
get id() { return "weechat"; }
getName(platform) { return "Weechat"; }
get name() { return "Weechat"; }
get icon() { return "images/client-icons/weechat.svg"; }
get author() { return "Poljar"; }
get homepage() { return "https://github.com/poljar/weechat-matrix"; }