mirror of
https://github.com/git-touch/git-touch
synced 2025-03-02 18:27:52 +01:00
feat: add go to review entry
This commit is contained in:
parent
d8548614e7
commit
f4dd41e3ff
@ -33,6 +33,10 @@
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(FLUTTER_BUILD_NUMBER)</string>
|
||||
<key>LSApplicationQueriesSchemes</key>
|
||||
<array>
|
||||
<string>itms</string>
|
||||
</array>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
|
@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import 'package:launch_review/launch_review.dart';
|
||||
import '../scaffolds/simple.dart';
|
||||
import '../providers/settings.dart';
|
||||
import '../widgets/table_view.dart';
|
||||
@ -53,6 +54,20 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
),
|
||||
],
|
||||
),
|
||||
TableView(
|
||||
title: 'REVIEW',
|
||||
items: [
|
||||
TableViewItem(
|
||||
text: 'Review',
|
||||
onTap: () {
|
||||
LaunchReview.launch(
|
||||
androidAppId: 'io.github.pd4d10.gittouch',
|
||||
iOSAppId: '1452042346',
|
||||
);
|
||||
},
|
||||
)
|
||||
],
|
||||
),
|
||||
TableView(
|
||||
title: 'SOURCE CODE',
|
||||
items: [
|
||||
|
@ -30,6 +30,7 @@ dependencies:
|
||||
github_trending: ^0.1.0
|
||||
github_contributions: ^0.1.1
|
||||
flutter_svg: ^0.12.0
|
||||
launch_review: ^2.0.0
|
||||
|
||||
# The following adds the Cupertino Icons font to your application.
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
|
Loading…
x
Reference in New Issue
Block a user