Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vito-go committed Mar 16, 2024
1 parent 71777c6 commit 59e3d09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions mywords-flutter/lib/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Home extends StatefulWidget {
@override
State<Home> createState() => _State();
}

const appVersion="1.0.1";
class _State extends State<Home> {
final PageController _pageController =
PageController(initialPage: prefs.defaultHomeIndex);
Expand All @@ -38,7 +38,6 @@ class _State extends State<Home> {
];

void aboutOnTap() async {
String version = "1.0.0";
const applicationName = "mywords";
if (!context.mounted) return;
showAboutDialog(
Expand All @@ -49,7 +48,7 @@ class _State extends State<Home> {
child: CircleAvatar(child: Image.asset("logo.png")),
onTap: () async {},
),
applicationVersion: "version: $version",
applicationVersion: "version: $appVersion",
applicationLegalese: '© All rights reserved',
children: [
const SizedBox(height: 5),
Expand Down
2 changes: 1 addition & 1 deletion mywords-flutter/linux-deb/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: mywords
Version: 1.0.0
Version: 1.0.1
Section: NetWork
Priority: optional
Architecture: amd64
Expand Down
2 changes: 1 addition & 1 deletion mywords-flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1
version: 1.0.1+1

environment:
sdk: '>=3.2.3 <4.0.0'
Expand Down

0 comments on commit 59e3d09

Please sign in to comment.