mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-16 17:09:31 +01:00
parent
313c94a4f1
commit
9785b0023c
@ -59,7 +59,7 @@ class NewPrivateChatView extends StatelessWidget {
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
QrImageView(
|
||||
QrImage(
|
||||
data:
|
||||
'https://matrix.to/#/${Matrix.of(context).client.userID}',
|
||||
version: QrVersions.auto,
|
||||
|
@ -33,6 +33,7 @@ class UnreadRoomsBadge extends StatelessWidget {
|
||||
.where((r) => (r.isUnread || r.membership == Membership.invite))
|
||||
.length;
|
||||
return b.Badge(
|
||||
alignment: Alignment.bottomRight,
|
||||
badgeContent: Text(
|
||||
unreadCount.toString(),
|
||||
style: TextStyle(
|
||||
@ -41,15 +42,14 @@ class UnreadRoomsBadge extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
showBadge: unreadCount != 0,
|
||||
position: badgePosition,
|
||||
badgeStyle: b.BadgeStyle(
|
||||
animationType: b.BadgeAnimationType.scale,
|
||||
badgeColor: Theme.of(context).colorScheme.primary,
|
||||
position: badgePosition,
|
||||
elevation: 4,
|
||||
borderSide: BorderSide(
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
width: 2,
|
||||
),
|
||||
),
|
||||
child: child,
|
||||
);
|
||||
},
|
||||
|
@ -23,7 +23,7 @@ import package_info_plus
|
||||
import path_provider_foundation
|
||||
import record_macos
|
||||
import share_plus
|
||||
import shared_preferences_foundation
|
||||
import shared_preferences_macos
|
||||
import sqflite
|
||||
import url_launcher_macos
|
||||
import video_compress
|
||||
|
424
pubspec.lock
424
pubspec.lock
File diff suppressed because it is too large
Load Diff
22
pubspec.yaml
22
pubspec.yaml
@ -9,17 +9,17 @@ environment:
|
||||
dependencies:
|
||||
adaptive_dialog: ^1.9.0-no-macos.2
|
||||
animations: ^2.0.7
|
||||
badges: ^3.1.1
|
||||
badges: ^2.0.3
|
||||
blurhash_dart: ^1.1.0
|
||||
callkeep: ^0.3.2
|
||||
chewie: ^1.3.6
|
||||
collection: ^1.16.0
|
||||
connectivity_plus: ^4.0.1
|
||||
connectivity_plus: ^3.0.2
|
||||
cupertino_icons: any
|
||||
desktop_drop: ^0.4.0
|
||||
desktop_lifecycle: ^0.1.0
|
||||
desktop_notifications: ^0.6.3
|
||||
device_info_plus: ^9.0.1
|
||||
device_info_plus: ^8.0.0
|
||||
dynamic_color: ^1.6.0
|
||||
emoji_picker_flutter: ^1.5.1
|
||||
emoji_proposal: ^0.0.1
|
||||
@ -32,26 +32,26 @@ dependencies:
|
||||
flutter_app_lock: ^3.0.0
|
||||
flutter_blurhash: ^0.7.0
|
||||
flutter_cache_manager: ^3.3.0
|
||||
flutter_foreground_task: ^5.0.0
|
||||
flutter_foreground_task: ^3.10.0
|
||||
flutter_highlighter: ^0.1.1
|
||||
flutter_html: ^3.0.0-beta.1
|
||||
flutter_html_table: ^3.0.0-beta.1
|
||||
flutter_linkify: ^6.0.0
|
||||
flutter_local_notifications: ^14.1.0
|
||||
flutter_local_notifications: ^12.0.2
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
flutter_map: ^4.0.0
|
||||
flutter_map: ^3.1.0
|
||||
flutter_math_fork: ^0.7.1
|
||||
flutter_olm: ^1.2.0
|
||||
flutter_openssl_crypto: ^0.1.0
|
||||
flutter_ringtone_player: ^3.1.1
|
||||
flutter_secure_storage: ^8.0.0
|
||||
flutter_secure_storage: ^7.0.1
|
||||
flutter_typeahead: ^4.3.2
|
||||
flutter_web_auth_2: ^2.1.1
|
||||
flutter_webrtc: ^0.9.30+hotfix.2
|
||||
future_loading_dialog: ^0.2.3
|
||||
geolocator: ^7.6.2
|
||||
handy_window: ^0.3.1
|
||||
handy_window: ^0.1.9
|
||||
hive: ^2.2.3
|
||||
hive_flutter: ^1.1.0
|
||||
http: ^0.13.4
|
||||
@ -76,12 +76,12 @@ dependencies:
|
||||
record: ^4.4.4
|
||||
scroll_to_index: ^3.0.1
|
||||
share_plus: ^7.0.0
|
||||
shared_preferences: ^2.1.1
|
||||
shared_preferences: 2.0.15 # Pinned because https://github.com/flutter/flutter/issues/118401
|
||||
slugify: ^2.0.0
|
||||
swipe_to_action: ^0.2.0
|
||||
tor_detector_web: ^1.1.0
|
||||
uni_links: ^0.5.1
|
||||
unifiedpush: ^5.0.0
|
||||
unifiedpush: ^4.0.3
|
||||
universal_html: ^2.0.8
|
||||
url_launcher: ^6.0.20
|
||||
vibration: ^1.7.4-nullsafety.0
|
||||
@ -92,7 +92,7 @@ dependencies:
|
||||
webrtc_interface: ^1.0.13
|
||||
|
||||
dev_dependencies:
|
||||
dart_code_metrics: ^5.7.4
|
||||
dart_code_metrics: ^4.10.1
|
||||
flutter_lints: ^2.0.1
|
||||
flutter_native_splash: ^2.0.3+1
|
||||
flutter_test:
|
||||
|
Loading…
Reference in New Issue
Block a user