Skip to content

Commit

Permalink
lists mmm
Browse files Browse the repository at this point in the history
  • Loading branch information
cconstab committed Nov 1, 2021
1 parent 4b44751 commit e3ed9e4
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 125 deletions.
5 changes: 2 additions & 3 deletions ui/lib/services/at_get_radios.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ Future<List<HamRadio>> getHamradio(List<HamRadio> radios) async {
..sharedWith = currentAtsign;

var atRadiocount = await atClient.get(key);
if (atRadiocount.value != 'null') {
if (atRadiocount.value != null) {
radios = [];
print(atRadiocount.value);
print('GET RADIO COUNT:' + atRadiocount.value);
var val = atRadiocount.value;
int radioCount = int.parse(val);
print(radioCount.toString());

for (var i = 0; i < radioCount; i++) {
print(i.toString());
Expand Down
2 changes: 1 addition & 1 deletion ui/lib/services/at_save_radio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void saveHamradio(List<HamRadio> radios) async {
await atClient.put(key, radios.length.toString());

var blob = await atClient.get(key);
print(blob.value);
print('SAVING THIS MANY RADIOS:'+blob.value);

// Cylce throug radios and save them in
// .radio extended namespace
Expand Down
153 changes: 48 additions & 105 deletions ui/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,18 @@ packages:
source: hosted
version: "2.8.1"
at_app_flutter:
dependency: "direct overridden"
dependency: "direct main"
description:
name: at_app_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "3.0.0"
at_backupkey_flutter:
dependency: transitive
description:
path: at_backupkey_flutter
ref: "desktop/development"
resolved-ref: "617ebdf7001217dd8ca93462aa06ce848f6cc734"
url: "https://github.com/atsign-foundation/at_widgets.git"
source: git
name: at_backupkey_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
at_base2e15:
dependency: transitive
Expand All @@ -55,20 +53,16 @@ packages:
at_client:
dependency: transitive
description:
path: at_client
ref: desktop-compatible
resolved-ref: "7c0404d4c9f1530455227e2af72a17640a512f7b"
url: "https://github.com/atsign-foundation/at_client_sdk.git"
source: git
version: "3.0.3"
name: at_client
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.4"
at_client_mobile:
dependency: "direct overridden"
dependency: transitive
description:
path: at_client_mobile
ref: desktop-compatible
resolved-ref: "7c0404d4c9f1530455227e2af72a17640a512f7b"
url: "https://github.com/atsign-foundation/at_client_sdk.git"
source: git
name: at_client_mobile
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.3"
at_commons:
dependency: transitive
Expand All @@ -85,14 +79,12 @@ packages:
source: hosted
version: "3.0.3"
at_onboarding_flutter:
dependency: "direct overridden"
dependency: transitive
description:
path: at_onboarding_flutter
ref: "desktop/development"
resolved-ref: "617ebdf7001217dd8ca93462aa06ce848f6cc734"
url: "https://github.com/atsign-foundation/at_widgets.git"
source: git
version: "3.0.2"
name: at_onboarding_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.4"
at_persistence_secondary_server:
dependency: transitive
description:
Expand Down Expand Up @@ -134,14 +126,7 @@ packages:
name: auto_size_text
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0-nullsafety.0"
biometric_storage:
dependency: transitive
description:
name: biometric_storage
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.0.0"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -191,13 +176,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.2"
cross_file:
dependency: transitive
description:
name: cross_file
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.2"
crypto:
dependency: transitive
description:
Expand All @@ -213,19 +191,12 @@ packages:
source: hosted
version: "2.0.3"
cupertino_icons:
dependency: "direct overridden"
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
dotenv:
dependency: transitive
description:
name: dotenv
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
encrypt:
dependency: transitive
description:
Expand All @@ -234,7 +205,7 @@ packages:
source: hosted
version: "5.0.1"
expansion_tile_card:
dependency: "direct overridden"
dependency: "direct main"
description:
name: expansion_tile_card
url: "https://pub.dartlang.org"
Expand Down Expand Up @@ -267,61 +238,33 @@ packages:
name: file_picker
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.4"
file_selector:
dependency: transitive
description:
name: file_selector
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.2+1"
file_selector_linux:
dependency: transitive
description:
name: file_selector_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.2+1"
file_selector_macos:
dependency: transitive
description:
name: file_selector_macos
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.4+1"
file_selector_platform_interface:
version: "4.2.0"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_config:
dependency: transitive
description:
name: file_selector_platform_interface
name: flutter_config
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
file_selector_web:
dependency: transitive
version: "2.0.0"
flutter_form_builder:
dependency: "direct main"
description:
name: file_selector_web
name: flutter_form_builder
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.1+2"
file_selector_windows:
version: "6.2.0"
flutter_keychain:
dependency: transitive
description:
name: file_selector_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.2+1"
flutter:
dependency: "direct overridden"
description: flutter
source: sdk
version: "0.0.0"
flutter_form_builder:
dependency: "direct overridden"
description:
name: flutter_form_builder
name: flutter_keychain
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.0+1"
version: "2.1.0"
flutter_lints:
dependency: "direct dev"
description:
Expand All @@ -340,7 +283,7 @@ packages:
name: flutter_plugin_android_lifecycle
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "2.0.4"
flutter_qr_reader:
dependency: transitive
description:
Expand All @@ -364,7 +307,7 @@ packages:
name: font_awesome_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "9.1.0"
version: "9.2.0"
google_fonts:
dependency: "direct main"
description:
Expand Down Expand Up @@ -455,7 +398,7 @@ packages:
name: mime
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.0.1"
path:
dependency: transitive
description:
Expand All @@ -469,7 +412,7 @@ packages:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.5"
version: "2.0.6"
path_provider_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -539,14 +482,14 @@ packages:
name: pointycastle
url: "https://pub.dartlang.org"
source: hosted
version: "3.3.4"
version: "3.3.5"
process:
dependency: transitive
description:
name: process
url: "https://pub.dartlang.org"
source: hosted
version: "4.2.3"
version: "4.2.4"
share:
dependency: transitive
description:
Expand Down Expand Up @@ -602,7 +545,7 @@ packages:
source: hosted
version: "0.4.2"
timer_builder:
dependency: "direct overridden"
dependency: "direct main"
description:
name: timer_builder
url: "https://pub.dartlang.org"
Expand Down Expand Up @@ -677,14 +620,14 @@ packages:
name: webview_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
version: "2.1.2"
webview_flutter_android:
dependency: transitive
description:
name: webview_flutter_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.15"
version: "2.1.0"
webview_flutter_platform_interface:
dependency: transitive
description:
Expand All @@ -698,14 +641,14 @@ packages:
name: webview_flutter_wkwebview
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.14"
version: "2.1.0"
win32:
dependency: transitive
description:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.9"
version: "2.2.10"
xdg_directories:
dependency: transitive
description:
Expand Down
24 changes: 12 additions & 12 deletions ui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ dependencies:
font_awesome_flutter: ^9.1.0
mdi: ^5.0.0-nullsafety.0

dependency_overrides:
at_onboarding_flutter:
git:
url: https://github.com/atsign-foundation/at_widgets.git
path: at_onboarding_flutter
ref: desktop/development
at_client_mobile:
git:
url: https://github.com/atsign-foundation/at_client_sdk.git
path: at_client_mobile
ref: desktop-compatible
# dependency_overrides:
# at_onboarding_flutter:
# git:
# url: https://github.com/atsign-foundation/at_widgets.git
# path: at_onboarding_flutter
# ref: desktop/development
# at_client_mobile:
# git:
# url: https://github.com/atsign-foundation/at_client_sdk.git
# path: at_client_mobile
# ref: desktop-compatible



Expand All @@ -53,7 +53,7 @@ dependency_overrides:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.3
at_app_flutter: ^2.0.0
at_app_flutter: ^3.0.0
timer_builder: ^2.0.0
expansion_tile_card: ^2.0.0
flutter_form_builder: ^6.1.0+1
Expand Down
3 changes: 0 additions & 3 deletions ui/windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@

#include "generated_plugin_registrant.h"

#include <file_selector_windows/file_selector_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
FileSelectorPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FileSelectorPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
}
1 change: 0 additions & 1 deletion ui/windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
file_selector_windows
url_launcher_windows
)

Expand Down

0 comments on commit e3ed9e4

Please sign in to comment.