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