Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateSkanConversionValue method has error #156

Open
NelfDesign opened this issue Jan 14, 2025 · 1 comment
Open

updateSkanConversionValue method has error #156

NelfDesign opened this issue Jan 14, 2025 · 1 comment

Comments

@NelfDesign
Copy link

Hi,
this method in your package has an error
static Future<String?> updateSkanConversionValue(int conversionValue, String coarseValue, bool lockWindow) async {
final String error = await _channel.invokeMethod('updateSkanConversionValue', {
'conversionValue': conversionValue,
'coarseValue': coarseValue,
'lockWindow': lockWindow
});
return error;
}

If the error is null the application stop.
Please correct the method like this

static Future<String?> updateSkanConversionValue(int conversionValue, String coarseValue, bool lockWindow) async {
final String? error = await _channel.invokeMethod('updateSkanConversionValue', {
'conversionValue': conversionValue,
'coarseValue': coarseValue,
'lockWindow': lockWindow
});
return error;
}

@MahdiZTD
Copy link
Contributor

Hi @NelfDesign

Thanks for bringing this to our attention. We appreciate your feedback and will address this issue in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants