update version limpiar prints
This commit is contained in:
@@ -1012,16 +1012,12 @@ class _ServiceScreenState extends State<ServiceScreen> {
|
|||||||
PackageInfo packageInfo = await PackageInfo.fromPlatform();
|
PackageInfo packageInfo = await PackageInfo.fromPlatform();
|
||||||
String version = packageInfo.version;
|
String version = packageInfo.version;
|
||||||
|
|
||||||
print('App version: $version');
|
|
||||||
|
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
setState(() {
|
setState(() {
|
||||||
appVersion = version;
|
appVersion = version;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
print('App version: $settings');
|
|
||||||
|
|
||||||
if (settings != null) {
|
if (settings != null) {
|
||||||
_checkForUpdate(settings);
|
_checkForUpdate(settings);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user