Commit 36e8b04
Changed files (2)
lib
l10n
screens
subsettings
lib/l10n/app_en.arb
@@ -428,7 +428,7 @@
"@note": {},
"color": "Color",
"@color": {},
- "exportConfigDB": "export config.db",,,
+ "exportConfigDB": "export config.db",
"@exportConfigDB": {},
"configDBExplainer": "The config.db does not include all configuration info. For more debug information use the copy button at the top.",
"@configDBExplainer": {}
lib/screens/subsettings/version.dart
@@ -25,7 +25,7 @@ class VersionScreen extends StatelessWidget {
onPressed: () async {
final packageInfo = await PackageInfo.fromPlatform();
final prefs = await SharedPreferences.getInstance();
- var prefsText = '';
+ String prefsText = '';
for (final key in prefs.getKeys()) {
prefsText += '$key:\t${prefs.get(key).toString()}\n';
}
@@ -63,7 +63,7 @@ class VersionScreen extends StatelessWidget {
Center(
child: FilledButton.icon(
onPressed: () async {
- var dbPath = await getDatabasesPath();
+ String dbPath = await getDatabasesPath();
assert(dbPath != inMemoryDatabasePath);
dbPath = join(dbPath, 'config.db');