Add var for number of seconds between data refreshes. Rename locals file to config and also end example files in .dart
.
This commit is contained in:
parent
7a48d137e0
commit
54ae255e9e
5
.gitignore
vendored
5
.gitignore
vendored
@ -244,7 +244,8 @@ app.*.map.json
|
||||
/android/app/release
|
||||
|
||||
# Do not post secrets!
|
||||
secrets.dart
|
||||
lib/var/secrets.dart
|
||||
|
||||
# Keep locals local.
|
||||
locals.dart
|
||||
lib/var/local.dart
|
||||
lib/var/config.dart
|
||||
|
5
lib/var/config.EXAMPLE.dart
Normal file
5
lib/var/config.EXAMPLE.dart
Normal file
@ -0,0 +1,5 @@
|
||||
// This file needs renamed `local.dart` when implemented.
|
||||
|
||||
// Project-wide configuration variables for both testing and production.
|
||||
const bool debug = false;
|
||||
const int limitRefreshSeconds = 60;
|
@ -1,3 +0,0 @@
|
||||
// This file needs renamed `local.dart` if implemented.
|
||||
|
||||
const bool debug = false;
|
@ -1,3 +1,3 @@
|
||||
// This file needs renamed `secrets.dart` and filled out properly if implemented.
|
||||
|
||||
final openWeatherKey = "abc123";
|
||||
final String openWeatherKey = "abc123";
|
Loading…
x
Reference in New Issue
Block a user