diff --git a/lib/globals.dart b/lib/globals.dart index 6b641e8..8b13789 100644 --- a/lib/globals.dart +++ b/lib/globals.dart @@ -1,2 +1 @@ -// Values of the knobs. -late bool downloadWordsDataKnob; + diff --git a/lib/main.dart b/lib/main.dart index e5dae5a..609d87e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -23,17 +23,11 @@ Future setup({Set? entriesGlobalReplacement}) async { await setupPhaseOne(Uri.parse( "https://raw.githubusercontent.com/banool/auslan_dictionary/master/assets/advisories.md")); - await Future.wait([ - // Get knob values. - (() async => downloadWordsDataKnob = - await readKnob(KNOBS_URL_BASE, "download_words_data", false))(), - ]); - MyEntryLoader myEntryLoader = MyEntryLoader(); await setupPhaseTwo( paramEntryLoader: myEntryLoader, - downloadWordsData: downloadWordsDataKnob, + downloadWordsData: true, knobUrlBase: KNOBS_URL_BASE, entriesGlobalReplacement: entriesGlobalReplacement); diff --git a/pubspec.lock b/pubspec.lock index 26f3727..67fb3ee 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -206,10 +206,10 @@ packages: description: path: "." ref: main - resolved-ref: "587befa6d3a5b5e22d5e63bedb337010c2495f72" + resolved-ref: d8e90030bb17d8760ea793b230942e8b18307d59 url: "https://github.com/banool/dictionarylib.git" source: git - version: "0.1.17" + version: "0.1.18" dolphinsr_dart: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 92374a4..d450864 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Free video dictionary of Auslan signs publish_to: 'none' -version: 1.15.17+767 +version: 1.15.18+768 environment: sdk: '>=2.18.0 <3.0.0'