Add F-Droid button for FluffyChat

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2021-11-17 21:23:55 +00:00
parent b5b8e9a743
commit e71021e8aa
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { Maturity, Platform, LinkKind, FlathubLink, AppleStoreLink, PlayStoreLink, WebsiteLink } from "../types.js";
import { Maturity, Platform, LinkKind, FlathubLink, AppleStoreLink, PlayStoreLink, FDroidLink, WebsiteLink } from "../types.js";
/**
* Information on how to deep link to a given matrix client.
@ -44,7 +44,7 @@ export class Fluffychat {
getInstallLinks(platform) {
switch (platform) {
case Platform.iOS: return [new AppleStoreLink("fluffychat", "id1551469600")];
case Platform.Android: return [new PlayStoreLink("chat.fluffy.fluffychat")];
case Platform.Android: return [new PlayStoreLink("chat.fluffy.fluffychat"), new FDroidLink('chat.fluffy.fluffychat')];
case Platform.Linux: return [new FlathubLink("im.fluffychat.Fluffychat")];
default: return [new WebsiteLink("https://fluffychat.im")];
}