Commit 261d9678 authored by Administrator's avatar Administrator

longer flash messages when downloading

parent 496a70f2
......@@ -25,3 +25,8 @@ let's just share some screenshots to get folks interested:
Encrateia is [GPL v3](LICENSE) licensed and will always stay open source software.
Future versions in app/play stores might not be for free, but you will always be able to get
the source code and build it yourself.
# Notes for Self-Compiling
Creating an api to test:
`flutter build apk --split-per-abi`
......@@ -218,7 +218,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> {
flushbar.dismiss();
flushbar = Flushbar(
message: "Download .fit-File for »${activity.db.name}«",
duration: Duration(seconds: 3),
duration: Duration(seconds: 10),
icon: MyIcon.stravaDownloadWhite,
)..show(context);
......@@ -227,7 +227,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> {
flushbar.dismiss();
Flushbar(
message: "Download finished",
duration: Duration(seconds: 1),
duration: Duration(seconds: 2),
icon: MyIcon.finishedWhite,
)..show(context);
setState(() {});
......@@ -237,7 +237,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> {
flushbar.dismiss();
flushbar = Flushbar(
message: "0% of storing »${activity.db.name}«",
duration: Duration(seconds: 5),
duration: Duration(seconds: 10),
animationDuration: Duration(milliseconds: 1),
titleText: LinearProgressIndicator(value: 0),
)..show(context);
......@@ -248,7 +248,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> {
flushbar = Flushbar(
titleText: LinearProgressIndicator(value: value / 100),
message: "$value% of storing »${activity.db.name}«",
duration: Duration(seconds: 10),
duration: Duration(seconds: 20),
animationDuration: Duration(milliseconds: 1),
)..show(context);
}
......
......@@ -217,7 +217,7 @@ packages:
name: fit_parser
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.6"
version: "0.1.7"
fixnum:
dependency: transitive
description:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment