Skip to content

Commit bd5ec61

Browse files
ivo.liondovivo.liondov
authored andcommitted
Change variable in existing map
1 parent c514871 commit bd5ec61

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/approov_service_flutter_httpclient.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,7 @@ class ApproovService {
231231
await _channel.invokeMethod('initialize', arguments);
232232
// Use the comment string to initialize now immediately with the non null string
233233
if (_initialComment != null) {
234-
arguments = <String, dynamic>{
235-
"initialConfig": _initialConfig,
236-
"updateConfig": "auto",
237-
"comment": _initialComment,
238-
};
234+
arguments["comment"] = _initialComment;
239235
await _channel.invokeMethod('initialize', arguments);
240236
}
241237
// set the user property to represent the framework being used

0 commit comments

Comments
 (0)