diff --git a/lib/constants/constants.dart b/lib/constants/constants.dart index 2d575af5..243eec11 100644 --- a/lib/constants/constants.dart +++ b/lib/constants/constants.dart @@ -4,6 +4,9 @@ const clientId = String.fromEnvironment('CLIENT_ID'); /// Twitch API client secret. const secret = String.fromEnvironment('SECRET'); +/// The current version of the app. +const version = '1.0.0-beta'; + /// BTTV emotes with zero width to allow for overlaying other emotes. const zeroWidthEmotes = [ "SoSnowy", diff --git a/lib/screens/settings/other_settings.dart b/lib/screens/settings/other_settings.dart index 9fa09fb0..820603af 100644 --- a/lib/screens/settings/other_settings.dart +++ b/lib/screens/settings/other_settings.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_cache_manager/flutter_cache_manager.dart'; +import 'package:frosty/constants/constants.dart'; import 'package:frosty/screens/settings/stores/settings_store.dart'; import 'package:frosty/widgets/section_header.dart'; @@ -21,9 +22,9 @@ class OtherSettings extends StatelessWidget { title: const Text('About'), onTap: () => showAboutDialog( context: context, - applicationName: 'Frosty for Twitch', - applicationVersion: '1.0.0', - applicationLegalese: '\u{a9} 2021 Tommy Chow', + applicationName: 'Frosty', + applicationVersion: version, + applicationLegalese: '\u{a9} 2022 Tommy Chow', ), ), Container( diff --git a/pubspec.lock b/pubspec.lock index 1c36fb4e..ee0c7e48 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -596,7 +596,7 @@ packages: name: path_provider_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.1" + version: "2.0.2" path_provider_windows: dependency: transitive description: @@ -631,7 +631,7 @@ packages: name: plugin_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.1.2" pool: dependency: transitive description: @@ -923,7 +923,7 @@ packages: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.4" + version: "2.0.5" url_launcher_web: dependency: transitive description: @@ -986,7 +986,7 @@ packages: name: webview_flutter_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.8.0" + version: "1.8.1" webview_flutter_wkwebview: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index e7cb1c36..33eb6b80 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 +version: 1.0.0-beta environment: sdk: ">=2.15.0 <3.0.0"