Skip to content

Commit

Permalink
Merge pull request #14 from Ashhas/develop
Browse files Browse the repository at this point in the history
App name and version
  • Loading branch information
Ashhas authored Jun 11, 2022
2 parents e447cff + 5eb3b20 commit 91e2614
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Quotez - Programming Quotes
# Quotez - Coding Quotes

:speech_balloon: This project is a Random Programming Quotes app made with [Programming Quotes API]. Get random
programming quotes from an online database and save them locally on your phone or share them with your friends!
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<uses-permission android:name="android.permission.INTERNET"/>

<application
android:label="Code Quotes"
android:label="Coding Quotes"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Code Quotes</string>
<string>Coding Quotes</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
11 changes: 8 additions & 3 deletions lib/ui/home/widgets/about_panel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,15 @@ class _AboutPanelState extends State<AboutPanel> {
onTap: () => EmailUtil.sendEmail(context),
),
const PanelDivider(),
const PanelListTile(
PanelListTile(
title: UiStrings.rateTheApp,
tileIcon: Icon(Icons.rate_review_outlined),
onTap: null,
tileIcon: const Icon(Icons.rate_review_outlined),
onTap: () {
// Didn't use [Platform], because this approach is easier mock in tests
Theme.of(context).platform == TargetPlatform.android
? UrlUtil.openUrl(Constants.playStoreUrl)
: null;
},
),
],
),
Expand Down
4 changes: 3 additions & 1 deletion lib/utils/constants.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
abstract class Constants {
static const quoteBoxKey = "quotesBox";
static const githubRepositoryUrl = "https://github.com/Ashhas/Quotez";
static const playStoreUrl =
"https://play.google.com/store/apps/details?id=com.ashhas.quotez";
static const developerEmail = "[email protected]";
static const emailSubjectTemplate = "Code Quotes: ";
static const emailSubjectTemplate = "Coding Quotes: ";
static const appIcon = "assets/app_icon.png";
}
2 changes: 1 addition & 1 deletion lib/utils/ui_strings.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
abstract class UiStrings {
// App General Strings.
static const appName = 'Code Quotes';
static const appName = 'Coding Quotes';

// Navigation Routes.
static const splashScreenRoute = "/splash_screen";
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: quotez
description: A new Flutter project.
publish_to: 'none'

version: 0.2.2+5
version: 0.2.3+6

environment:
sdk: ">=2.16.0 <3.0.0"
Expand Down

0 comments on commit 91e2614

Please sign in to comment.