Skip to content

Commit

Permalink
Update dictlib to avoid throwing for now
Browse files Browse the repository at this point in the history
  • Loading branch information
banool committed Mar 4, 2024
1 parent 046080f commit b328bdd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
3 changes: 1 addition & 2 deletions lib/globals.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// Values of the knobs.
late bool downloadWordsDataKnob;

8 changes: 1 addition & 7 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,11 @@ Future<void> setup({Set<Entry>? entriesGlobalReplacement}) async {
await setupPhaseOne(Uri.parse(
"https://raw.githubusercontent.com/banool/auslan_dictionary/master/assets/advisories.md"));

await Future.wait<void>([
// 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);

Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit b328bdd

Please sign in to comment.