Added google play link
This commit is contained in:
@@ -2,4 +2,5 @@ class Urls {
|
||||
static const linkdingInstallationInstructions =
|
||||
"https://github.com/sissbruecker/linkding?tab=readme-ov-file#installation";
|
||||
static const gitHubRepo = "https://github.com/JGeek00/linkdy";
|
||||
static const playStoreLink = "https://play.google.com/store/apps/details?id=com.jgeek00.linkdy&pcampaignid=web_share";
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
@@ -51,17 +53,17 @@ class SettingsScreen extends ConsumerWidget {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
children: [
|
||||
// if (Platform.isAndroid)
|
||||
// IconButton(
|
||||
// onPressed: () => openUrl(Urls.playStore),
|
||||
// icon: SvgPicture.asset(
|
||||
// 'assets/resources/google-play.svg',
|
||||
// color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
// width: 30,
|
||||
// height: 30,
|
||||
// ),
|
||||
// tooltip: t.settings.visitGooglePlay,
|
||||
// ),
|
||||
if (Platform.isAndroid)
|
||||
IconButton(
|
||||
onPressed: () => openUrl(Urls.playStoreLink),
|
||||
icon: SvgPicture.asset(
|
||||
'assets/resources/google-play.svg',
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
width: 30,
|
||||
height: 30,
|
||||
),
|
||||
tooltip: t.settings.visitGooglePlay,
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () => openUrl(Urls.gitHubRepo),
|
||||
icon: SvgPicture.asset(
|
||||
|
||||
Reference in New Issue
Block a user