fixed version counter "v?"
This commit is contained in:
parent
06016514e5
commit
261c94e9bb
@ -918,6 +918,7 @@ class _SettingsScreenState extends State<SettingsScreen>
|
|||||||
child: Text("v${release.data!['version']}"),
|
child: Text("v${release.data!['version']}"),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
String envAppVer = const String.fromEnvironment("APPVER", defaultValue: "?");
|
||||||
return DefaultTextStyle(
|
return DefaultTextStyle(
|
||||||
style: Theme.of(context)
|
style: Theme.of(context)
|
||||||
.textTheme
|
.textTheme
|
||||||
@ -927,7 +928,7 @@ class _SettingsScreenState extends State<SettingsScreen>
|
|||||||
color: AppColors.of(context)
|
color: AppColors.of(context)
|
||||||
.text
|
.text
|
||||||
.withOpacity(0.65)),
|
.withOpacity(0.65)),
|
||||||
child: const Text("v?"),
|
child: Text("v$envAppVer"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user