Skip to content

Commit 745c698

Browse files
authored
Merge pull request #20 from adamgic/main
Fix asynchronous function return type
2 parents a3fa8e4 + 2d47894 commit 745c698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/approov_service_flutter_httpclient.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class ApproovService {
260260
///
261261
/// @param config is the configuration string
262262
/// @param comment is an optional comment used during initialization or null if not required
263-
static void initialize(String config, [String? comment]) async {
263+
static Future<void> initialize(String config, [String? comment]) async {
264264
if (_futureInitialization != null) {
265265
// ensure we wait in case initialize has been called previously
266266
await _futureInitialization;

0 commit comments

Comments
 (0)