From b720dd736686b25e5288e0bc6820ac3ae4f55727 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Fri, 10 Jan 2025 17:16:33 +0800 Subject: [PATCH] [fix] --- .../view/components/widget/lost_and_found_search_bar.dart | 1 + macos/Flutter/GeneratedPluginRegistrant.swift | 2 -- pubspec.yaml | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/lost_and_found/view/components/widget/lost_and_found_search_bar.dart b/lib/lost_and_found/view/components/widget/lost_and_found_search_bar.dart index a61dd251..bf6a7111 100644 --- a/lib/lost_and_found/view/components/widget/lost_and_found_search_bar.dart +++ b/lib/lost_and_found/view/components/widget/lost_and_found_search_bar.dart @@ -46,6 +46,7 @@ class _LostAndFoundSearchBarState extends State @override Widget build(BuildContext context) { + Widget searchInputField = ConstrainedBox( constraints: BoxConstraints( maxHeight: 30, diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 65433834..95c3c0be 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -15,7 +15,6 @@ import share_plus import shared_preferences_foundation import sqflite import url_launcher_macos -import video_player_avfoundation import window_manager func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { @@ -29,6 +28,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) - FVPVideoPlayerPlugin.register(with: registry.registrar(forPlugin: "FVPVideoPlayerPlugin")) WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin")) } diff --git a/pubspec.yaml b/pubspec.yaml index 75cb7860..6f8b7000 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,7 +65,7 @@ dependencies: gallery_saver: git: - url: https://github.com/steven12138/gallery_saver_deps.git + url: https://github.com/hxphieno/gallery_saver.git http_parser: ^4.0.2 @@ -99,8 +99,7 @@ dependencies: simple_html_css: ^4.0.0 simple_url_preview_v2: git: - url: https://github.com/steven12138/flutter-simple-url-preview_deps.git - ref: 0a388031be88ea7f89dbc869d89a78ae013a0ca6 + url: https://github.com/hxphieno/flutter-simple-url-preview_2.git flutter_link_previewer: ^3.2.2 table_calendar: ^3.0.9