Skip to content

Commit

Permalink
Turn off deferred loading for now
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed Mar 24, 2024
1 parent 3c6582e commit 82ee03e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/text_analysis/analyzer.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dart:math';

import 'package:flutter/foundation.dart';
import 'package:isittofu/data/android.dart' deferred as android_data;
import 'package:isittofu/data/ios.dart' deferred as ios_data;
import 'package:isittofu/data/android.dart' as android_data;
import 'package:isittofu/data/ios.dart' as ios_data;
import 'package:isittofu/util.dart';

const double kLimitedSupportThreshold = 0.7;
Expand Down Expand Up @@ -52,8 +52,6 @@ class Analyzer {
}

Future<CodePointAnalysis> analyzeCodePoint(int codePoint) async {
await Future.wait<dynamic>(
[ios_data.loadLibrary(), android_data.loadLibrary()]);
logDebug('Inspecting codepoint $codePoint');
final iosIndices = ios_data.supportingIndices(codePoint);
final latestIosIndex = ios_data.IosPlatform.values.length - 1;
Expand Down

0 comments on commit 82ee03e

Please sign in to comment.