build: Update dependencies

This commit is contained in:
Krille 2023-05-09 14:47:05 +02:00
parent b1c481c4d1
commit e1d54fa992
No known key found for this signature in database
7 changed files with 56 additions and 58 deletions

View File

@ -351,7 +351,7 @@ class ChatController extends State<ChatPageWithRoom> {
eventId ??= timeline.events.first.eventId; eventId ??= timeline.events.first.eventId;
Logs().v('Set read marker...', eventId); Logs().v('Set read marker...', eventId);
// ignore: unawaited_futures // ignore: unawaited_futures
_setReadMarkerFuture = timeline.setReadMarker(eventId).then((_) { _setReadMarkerFuture = timeline.setReadMarker(eventId: eventId).then((_) {
_setReadMarkerFuture = null; _setReadMarkerFuture = null;
}); });
room.client.updateIosBadge(); room.client.updateIosBadge();

View File

@ -481,7 +481,7 @@ class StoryPageController extends State<StoryPage> {
return; return;
} }
if (!currentSeenByUsers.any((u) => u.id == u.room.client.userID)) { if (!currentSeenByUsers.any((u) => u.id == u.room.client.userID)) {
timeline!.setReadMarker(currentEvent.eventId); timeline!.setReadMarker(eventId: currentEvent.eventId);
} }
} }

View File

@ -309,6 +309,6 @@ class MatrixLocals extends MatrixLocalizations {
String wasDirectChatDisplayName(String oldDisplayName) => String wasDirectChatDisplayName(String oldDisplayName) =>
l10n.wasDirectChatDisplayName(oldDisplayName); l10n.wasDirectChatDisplayName(oldDisplayName);
//@override @override
String get unknownUser => l10n.user; String get unknownUser => l10n.user;
} }

View File

@ -11,6 +11,7 @@
#include <dynamic_color/dynamic_color_plugin.h> #include <dynamic_color/dynamic_color_plugin.h>
#include <emoji_picker_flutter/emoji_picker_flutter_plugin.h> #include <emoji_picker_flutter/emoji_picker_flutter_plugin.h>
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h> #include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h>
#include <handy_window/handy_window_plugin.h> #include <handy_window/handy_window_plugin.h>
#include <record_linux/record_linux_plugin.h> #include <record_linux/record_linux_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h> #include <url_launcher_linux/url_launcher_plugin.h>
@ -32,6 +33,9 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar);
g_autoptr(FlPluginRegistrar) flutter_webrtc_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterWebRTCPlugin");
flutter_web_r_t_c_plugin_register_with_registrar(flutter_webrtc_registrar);
g_autoptr(FlPluginRegistrar) handy_window_registrar = g_autoptr(FlPluginRegistrar) handy_window_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin");
handy_window_plugin_register_with_registrar(handy_window_registrar); handy_window_plugin_register_with_registrar(handy_window_registrar);

View File

@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
dynamic_color dynamic_color
emoji_picker_flutter emoji_picker_flutter
flutter_secure_storage_linux flutter_secure_storage_linux
flutter_webrtc
handy_window handy_window
record_linux record_linux
url_launcher_linux url_launcher_linux

View File

@ -101,10 +101,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: blurhash_dart name: blurhash_dart
sha256: d18fa567dce8bc897d31e14e084d2b1a4306e6bfde30a0e72ebf5f5ff549ced9 sha256: "43955b6c2e30a7d440028d1af0fa185852f3534b795cc6eb81fbf397b464409f"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.1.0" version: "1.2.1"
boolean_selector: boolean_selector:
dependency: transitive dependency: transitive
description: description:
@ -181,10 +181,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: cli_util name: cli_util
sha256: "66f86e916d285c1a93d3b79587d94bd71984a66aac4ff74e524cfa7877f1395c" sha256: b8db3080e59b2503ca9e7922c3df2072cf13992354d5e944074ffa836fba43b7
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.3.5" version: "0.4.0"
clock: clock:
dependency: transitive dependency: transitive
description: description:
@ -285,18 +285,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: dart_webrtc name: dart_webrtc
sha256: a8244b36b6b673649f489f4f13a011e6fb029de678f6c606dc3f072a088b6ea8 sha256: a34e59ac1559cac954e48c9fe156164992163d2f4b7e75d5b0e927ee2f1e4922
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.15" version: "1.0.16"
dbus: dbus:
dependency: transitive dependency: transitive
description: description:
name: dbus name: dbus
sha256: "4f814fc7e73057f78f307a6c4714fe2ffb4bdb994ab1970540a068ec4d5a45be" sha256: "6f07cba3f7b3448d42d015bfd3d53fe12e5b36da2423f23838efc1d5fb31a263"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.3" version: "0.7.8"
desktop_drop: desktop_drop:
dependency: "direct main" dependency: "direct main"
description: description:
@ -572,26 +572,27 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: flutter_math_fork name: flutter_math_fork
sha256: cfec964c4975c6becc64291eb9b782fe70df5e0c5bfe0763d9e856432fcc6fcd sha256: fa511bdcb91fc35eac155ec5790883886dd9de6572fea549f1ad4660ef6804e9
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.4.2+2" version: "0.6.3+1"
flutter_matrix_html: flutter_matrix_html:
dependency: "direct main" dependency: "direct main"
description: description:
name: flutter_matrix_html path: "."
sha256: "78db9930ffd8a3fed18fd04f024b56b6f545553ad4fc5a07bfdc3ec9eaba5298" ref: "krille/update-dependencies"
url: "https://pub.dev" resolved-ref: "167fdbb8fa7d61f8edadbbfcdd3b0d26d0e46c67"
source: hosted url: "https://github.com/Sorunome/flutter_matrix_html.git"
source: git
version: "1.1.0" version: "1.1.0"
flutter_native_splash: flutter_native_splash:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: flutter_native_splash name: flutter_native_splash
sha256: bd36d1a7f05ff8378cad17d20c33ca904630bfd3fcf8b15c9e8237efbccfad0a sha256: af665ef80a213a9ed502845a3d7a61b9acca4100ee7e9f067a7440bc3acd6730
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.2.0+1" version: "2.2.19"
flutter_olm: flutter_olm:
dependency: "direct main" dependency: "direct main"
description: description:
@ -677,10 +678,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: flutter_svg name: flutter_svg
sha256: "9ac1967e2f72a08af11b05b39167920f90d043cf67163d13a544a358c8f31afa" sha256: "6ff9fa12892ae074092de2fa6a9938fb21dbabfdaa2ff57dc697ff912fc8d4b2"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.22.0" version: "1.1.6"
flutter_test: flutter_test:
dependency: "direct dev" dependency: "direct dev"
description: flutter description: flutter
@ -718,12 +719,11 @@ packages:
flutter_webrtc: flutter_webrtc:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." name: flutter_webrtc
ref: HEAD sha256: "25df2c05e937548d95181228c58070cb2a20a48c5465efdc27f53c547f66d3c1"
resolved-ref: "5e634009ebbba856bfe2b825f7e5d59596ae1452" url: "https://pub.dev"
url: "https://github.com/radzio-it/flutter-webrtc.git" source: hosted
source: git version: "0.9.29+hotfix.1"
version: "0.9.24"
fuchsia_remote_debug_protocol: fuchsia_remote_debug_protocol:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -861,10 +861,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: image name: image
sha256: "02bafd3b4f399bfeb10034deba9753d93b55ce41cd0c4d3d8b355626f80e5b32" sha256: a72242c9a0ffb65d03de1b7113bc4e189686fc07c7147b8b41811d0dd0e0d9bf
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.1.3" version: "4.0.17"
image_picker: image_picker:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1007,14 +1007,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.8.1" version: "0.8.1"
lint:
dependency: transitive
description:
name: lint
sha256: "4a539aa34ec5721a2c7574ae2ca0336738ea4adc2a34887d54b7596310b33c85"
url: "https://pub.dev"
source: hosted
version: "1.10.0"
lints: lints:
dependency: transitive dependency: transitive
description: description:
@ -1067,18 +1059,18 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: matrix name: matrix
sha256: "8c07fa7b558d28891ea2609542295e4bb3e8360545540b434abaf055dde3a59c" sha256: "2b07709bce975d2be4dc4cd3cc1196fcd6c0397d4e250b42a498e35523fc28f3"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.18.0" version: "0.20.1"
matrix_api_lite: matrix_api_lite:
dependency: transitive dependency: transitive
description: description:
name: matrix_api_lite name: matrix_api_lite
sha256: "7c1af53ccdcaf69db1372f607cba48f4ac360595c9bc9e1420768adb2f1c3814" sha256: "16d74a065a085adf30985e6068c9cc001e130979d1f186e40f733450a6583725"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.1.10" version: "1.6.1"
matrix_homeserver_recommendations: matrix_homeserver_recommendations:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1139,10 +1131,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: msix name: msix
sha256: e3de4d9f52543ad6e4b0f534991e1303cbd379d24be28dd241ac60bd9439a201 sha256: "2b094025eb77940d2cea64ec2d1d918a6bf87ef4518eb9155def9a8855831bdc"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.7.0" version: "3.11.1"
native_imaging: native_imaging:
dependency: "direct main" dependency: "direct main"
description: description:
@ -1251,18 +1243,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: path_drawing name: path_drawing
sha256: "3bdd251dae9ffaef944450b73f168610db7e968e7b20daf0c3907f8b4aafc8a2" sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.5.1+1" version: "1.0.1"
path_parsing: path_parsing:
dependency: transitive dependency: transitive
description: description:
name: path_parsing name: path_parsing
sha256: ee5c47c1058ad66b4a41746ec3996af9593d0858872807bcd64ac118f0700337 sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.2.1" version: "1.0.1"
path_provider: path_provider:
dependency: "direct main" dependency: "direct main"
description: description:
@ -2128,10 +2120,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: webrtc_interface name: webrtc_interface
sha256: fb79e2dbf594a61bfeed6dc52fa3209d63594ac59930043a9e98371d2d40000c sha256: "0ac4693f921c81005edefd2f43b9fe84b0ed54481474fe1ee16b789b0c84a77c"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.11" version: "1.0.13"
win32: win32:
dependency: transitive dependency: transitive
description: description:
@ -2168,10 +2160,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: xml name: xml
sha256: "80d494c09849dc3f899d227a78c30c5b949b985ededf884cb3f3bcd39f4b447a" sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.4.1" version: "6.2.2"
yaml: yaml:
dependency: transitive dependency: transitive
description: description:

View File

@ -44,7 +44,7 @@ dependencies:
flutter_secure_storage: ^7.0.1 flutter_secure_storage: ^7.0.1
flutter_typeahead: ^4.3.2 flutter_typeahead: ^4.3.2
flutter_web_auth_2: ^2.1.1 flutter_web_auth_2: ^2.1.1
flutter_webrtc: ^0.9.24 flutter_webrtc: ^0.9.29+hotfix.1
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.9 handy_window: ^0.1.9
@ -57,7 +57,7 @@ dependencies:
just_audio_mpv: ^0.1.6 just_audio_mpv: ^0.1.6
keyboard_shortcuts: ^0.1.4 keyboard_shortcuts: ^0.1.4
latlong2: ^0.8.1 latlong2: ^0.8.1
matrix: ^0.18.0 matrix: ^0.20.1
matrix_homeserver_recommendations: ^0.3.0 matrix_homeserver_recommendations: ^0.3.0
matrix_link_text: ^1.0.2 matrix_link_text: ^1.0.2
native_imaging: ^0.1.0 native_imaging: ^0.1.0
@ -86,7 +86,7 @@ dependencies:
video_player: ^2.2.18 video_player: ^2.2.18
vrouter: ^1.2.0+21 vrouter: ^1.2.0+21
wakelock: ^0.6.1+1 wakelock: ^0.6.1+1
webrtc_interface: ^1.0.10 webrtc_interface: ^1.0.13
dev_dependencies: dev_dependencies:
dart_code_metrics: ^4.10.1 dart_code_metrics: ^4.10.1
@ -147,13 +147,14 @@ dependency_overrides:
ffi: ^2.0.0 ffi: ^2.0.0
# fake secure storage plugin for Windows # fake secure storage plugin for Windows
# See: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/15161 # See: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/15161
flutter_matrix_html:
git:
url: https://github.com/Sorunome/flutter_matrix_html.git
ref: krille/update-dependencies
flutter_secure_storage_windows: flutter_secure_storage_windows:
git: git:
url: https://gitlab.com/TheOneWithTheBraid/flutter_secure_storage_windows.git url: https://gitlab.com/TheOneWithTheBraid/flutter_secure_storage_windows.git
ref: main ref: main
# Because of https://github.com/flutter-webrtc/flutter-webrtc/issues/1212
flutter_webrtc:
git: https://github.com/radzio-it/flutter-webrtc.git
geolocator_android: geolocator_android:
hosted: hosted:
name: geolocator_android name: geolocator_android
@ -163,4 +164,4 @@ dependency_overrides:
keyboard_shortcuts: keyboard_shortcuts:
git: git:
url: https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git url: https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git
ref: null-safety ref: null-safety