From 28c5c8211f1d129530ccb27f37b0bf317629206e Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Mon, 14 Feb 2022 09:25:29 +0100 Subject: [PATCH] chore: Update SDK --- lib/pages/chat/cupertino_widgets_bottom_sheet.dart | 2 +- lib/pages/chat/widgets_bottom_sheet.dart | 2 +- macos/Flutter/GeneratedPluginRegistrant.swift | 2 ++ pubspec.lock | 2 +- pubspec.yaml | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/pages/chat/cupertino_widgets_bottom_sheet.dart b/lib/pages/chat/cupertino_widgets_bottom_sheet.dart index d4c320c8..c0e077af 100644 --- a/lib/pages/chat/cupertino_widgets_bottom_sheet.dart +++ b/lib/pages/chat/cupertino_widgets_bottom_sheet.dart @@ -18,7 +18,7 @@ class CupertinoWidgetsBottomSheet extends StatelessWidget { (widget) => Link( builder: (context, callback) { return CupertinoActionSheetAction( - child: Text(widget.name), + child: Text(widget.name ?? widget.url), onPressed: callback ?? () {}, ); }, diff --git a/lib/pages/chat/widgets_bottom_sheet.dart b/lib/pages/chat/widgets_bottom_sheet.dart index e05c1617..7c187284 100644 --- a/lib/pages/chat/widgets_bottom_sheet.dart +++ b/lib/pages/chat/widgets_bottom_sheet.dart @@ -23,7 +23,7 @@ class WidgetsBottomSheet extends StatelessWidget { return Link( builder: (context, callback) { return ListTile( - title: Text(widget.name), + title: Text(widget.name ?? widget.url), subtitle: Text(widget.type), onTap: callback, ); diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 27e8d3b0..98cdf903 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -11,6 +11,7 @@ import emoji_picker_flutter import file_selector_macos import flutter_local_notifications import flutter_secure_storage_macos +import flutter_web_auth import geolocator_apple import package_info import package_info_plus_macos @@ -28,6 +29,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin")) FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin")) FlutterSecureStorageMacosPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageMacosPlugin")) + FlutterWebAuthPlugin.register(with: registry.registrar(forPlugin: "FlutterWebAuthPlugin")) GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin")) FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin")) FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) diff --git a/pubspec.lock b/pubspec.lock index 1cbb13fc..dd50a760 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -832,7 +832,7 @@ packages: name: matrix url: "https://pub.dartlang.org" source: hosted - version: "0.8.2" + version: "0.8.5" matrix_api_lite: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 2911a094..a3cba780 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -51,7 +51,7 @@ dependencies: intl: any localstorage: ^4.0.0+1 lottie: ^1.2.1 - matrix: ^0.8.2 + matrix: ^0.8.5 matrix_link_text: ^1.0.2 open_noti_settings: ^0.4.0 package_info_plus: ^1.2.1