Skip to content

Commit

Permalink
Merge pull request #309 from Countly/remove-import
Browse files Browse the repository at this point in the history
Import removal
  • Loading branch information
turtledreams authored Nov 29, 2024
2 parents 6ad53b5 + c5a456e commit 355e45a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/src/countly_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io' show Platform;

import 'package:countly_flutter/src/content_builder.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:pedantic/pedantic.dart';
Expand Down Expand Up @@ -237,8 +236,8 @@ class Countly {
ContentStatus contentStatus = ContentStatus.completed;
if (contentResult == 1) {
contentStatus = ContentStatus.closed;
}
Map<String, dynamic> contentData = Map<String, dynamic>.from(argumentsMap['contentData']);;
}
Map<String, dynamic> contentData = Map<String, dynamic>.from(argumentsMap['contentData']);

Countly.instance._contentBuilderInternal.onContentCallback(contentStatus, contentData);
break;
Expand Down Expand Up @@ -327,7 +326,7 @@ class Countly {
Countly.instance._remoteConfigInternal.registerDownloadCallback(callback);
}

if(config.content.contentCallback != null){
if (config.content.contentCallback != null) {
log('[initWithConfig] About to register content callback', logLevel: LogLevel.VERBOSE);
Countly.instance._contentBuilderInternal.registerContentCallback(config.content.contentCallback!);
}
Expand Down

0 comments on commit 355e45a

Please sign in to comment.