Skip to content

Commit 8edc431

Browse files
style: update comment in sendLogToFlutter method
- Remove comparison to Swift's DispatchQueue.main.async
1 parent a0a9ca9 commit 8edc431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/optimizely/optimizely_flutter_sdk/OptimizelyFlutterLogger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ private void sendLogToFlutter(int level, String message) {
352352
return;
353353
}
354354

355-
// Ensure we're on the main thread when calling Flutter (similar to Swift's DispatchQueue.main.async)
355+
// Ensure we're on the main thread when calling Flutter
356356
Handler mainHandler = new Handler(Looper.getMainLooper());
357357
mainHandler.post(() -> {
358358
Map<String, Object> arguments = new HashMap<>();

0 commit comments

Comments
 (0)