Skip to content

Commit

Permalink
Don't show build number (no way to auto-increment it via Flutter buil…
Browse files Browse the repository at this point in the history
…d process without nasty hacks)
  • Loading branch information
sveinbjornt committed Nov 2, 2021
1 parent 8b12137 commit 74e339b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ void main() async {

// Launch app with session route
runApp(MaterialApp(
title: kSoftwareName, home: SessionRoute(), theme: darkTheme, darkTheme: darkTheme));
title: kSoftwareName, home: SessionRoute(), theme: defaultTheme, darkTheme: defaultTheme));
}
4 changes: 2 additions & 2 deletions lib/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -432,10 +432,10 @@ Future<String> genVersionString() async {

PackageInfo packageInfo = await PackageInfo.fromPlatform();
final String version = packageInfo.version;
final String buildNumber = packageInfo.buildNumber;
//final String buildNumber = packageInfo.buildNumber;

final String osName = osName2Pretty[Platform.operatingSystem];
return "$version ($buildNumber) ($osName)";
return "$version ($osName)";
}

// List of settings widgets
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: embla
description: Icelandic-language voice assistant.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.2.0+12
version: 1.2.0+1

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

0 comments on commit 74e339b

Please sign in to comment.