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(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
QrImageView(
|
QrImage(
|
||||||
data:
|
data:
|
||||||
'https://matrix.to/#/${Matrix.of(context).client.userID}',
|
'https://matrix.to/#/${Matrix.of(context).client.userID}',
|
||||||
version: QrVersions.auto,
|
version: QrVersions.auto,
|
||||||
|
@ -33,6 +33,7 @@ class UnreadRoomsBadge extends StatelessWidget {
|
|||||||
.where((r) => (r.isUnread || r.membership == Membership.invite))
|
.where((r) => (r.isUnread || r.membership == Membership.invite))
|
||||||
.length;
|
.length;
|
||||||
return b.Badge(
|
return b.Badge(
|
||||||
|
alignment: Alignment.bottomRight,
|
||||||
badgeContent: Text(
|
badgeContent: Text(
|
||||||
unreadCount.toString(),
|
unreadCount.toString(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -41,14 +42,13 @@ class UnreadRoomsBadge extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
showBadge: unreadCount != 0,
|
showBadge: unreadCount != 0,
|
||||||
|
animationType: b.BadgeAnimationType.scale,
|
||||||
|
badgeColor: Theme.of(context).colorScheme.primary,
|
||||||
position: badgePosition,
|
position: badgePosition,
|
||||||
badgeStyle: b.BadgeStyle(
|
elevation: 4,
|
||||||
badgeColor: Theme.of(context).colorScheme.primary,
|
borderSide: BorderSide(
|
||||||
elevation: 4,
|
color: Theme.of(context).colorScheme.background,
|
||||||
borderSide: BorderSide(
|
width: 2,
|
||||||
color: Theme.of(context).colorScheme.background,
|
|
||||||
width: 2,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
child: child,
|
child: child,
|
||||||
);
|
);
|
||||||
|
@ -23,7 +23,7 @@ import package_info_plus
|
|||||||
import path_provider_foundation
|
import path_provider_foundation
|
||||||
import record_macos
|
import record_macos
|
||||||
import share_plus
|
import share_plus
|
||||||
import shared_preferences_foundation
|
import shared_preferences_macos
|
||||||
import sqflite
|
import sqflite
|
||||||
import url_launcher_macos
|
import url_launcher_macos
|
||||||
import video_compress
|
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:
|
dependencies:
|
||||||
adaptive_dialog: ^1.9.0-no-macos.2
|
adaptive_dialog: ^1.9.0-no-macos.2
|
||||||
animations: ^2.0.7
|
animations: ^2.0.7
|
||||||
badges: ^3.1.1
|
badges: ^2.0.3
|
||||||
blurhash_dart: ^1.1.0
|
blurhash_dart: ^1.1.0
|
||||||
callkeep: ^0.3.2
|
callkeep: ^0.3.2
|
||||||
chewie: ^1.3.6
|
chewie: ^1.3.6
|
||||||
collection: ^1.16.0
|
collection: ^1.16.0
|
||||||
connectivity_plus: ^4.0.1
|
connectivity_plus: ^3.0.2
|
||||||
cupertino_icons: any
|
cupertino_icons: any
|
||||||
desktop_drop: ^0.4.0
|
desktop_drop: ^0.4.0
|
||||||
desktop_lifecycle: ^0.1.0
|
desktop_lifecycle: ^0.1.0
|
||||||
desktop_notifications: ^0.6.3
|
desktop_notifications: ^0.6.3
|
||||||
device_info_plus: ^9.0.1
|
device_info_plus: ^8.0.0
|
||||||
dynamic_color: ^1.6.0
|
dynamic_color: ^1.6.0
|
||||||
emoji_picker_flutter: ^1.5.1
|
emoji_picker_flutter: ^1.5.1
|
||||||
emoji_proposal: ^0.0.1
|
emoji_proposal: ^0.0.1
|
||||||
@ -32,26 +32,26 @@ dependencies:
|
|||||||
flutter_app_lock: ^3.0.0
|
flutter_app_lock: ^3.0.0
|
||||||
flutter_blurhash: ^0.7.0
|
flutter_blurhash: ^0.7.0
|
||||||
flutter_cache_manager: ^3.3.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_highlighter: ^0.1.1
|
||||||
flutter_html: ^3.0.0-beta.1
|
flutter_html: ^3.0.0-beta.1
|
||||||
flutter_html_table: ^3.0.0-beta.1
|
flutter_html_table: ^3.0.0-beta.1
|
||||||
flutter_linkify: ^6.0.0
|
flutter_linkify: ^6.0.0
|
||||||
flutter_local_notifications: ^14.1.0
|
flutter_local_notifications: ^12.0.2
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
flutter_map: ^4.0.0
|
flutter_map: ^3.1.0
|
||||||
flutter_math_fork: ^0.7.1
|
flutter_math_fork: ^0.7.1
|
||||||
flutter_olm: ^1.2.0
|
flutter_olm: ^1.2.0
|
||||||
flutter_openssl_crypto: ^0.1.0
|
flutter_openssl_crypto: ^0.1.0
|
||||||
flutter_ringtone_player: ^3.1.1
|
flutter_ringtone_player: ^3.1.1
|
||||||
flutter_secure_storage: ^8.0.0
|
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.30+hotfix.2
|
flutter_webrtc: ^0.9.30+hotfix.2
|
||||||
future_loading_dialog: ^0.2.3
|
future_loading_dialog: ^0.2.3
|
||||||
geolocator: ^7.6.2
|
geolocator: ^7.6.2
|
||||||
handy_window: ^0.3.1
|
handy_window: ^0.1.9
|
||||||
hive: ^2.2.3
|
hive: ^2.2.3
|
||||||
hive_flutter: ^1.1.0
|
hive_flutter: ^1.1.0
|
||||||
http: ^0.13.4
|
http: ^0.13.4
|
||||||
@ -76,12 +76,12 @@ dependencies:
|
|||||||
record: ^4.4.4
|
record: ^4.4.4
|
||||||
scroll_to_index: ^3.0.1
|
scroll_to_index: ^3.0.1
|
||||||
share_plus: ^7.0.0
|
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
|
slugify: ^2.0.0
|
||||||
swipe_to_action: ^0.2.0
|
swipe_to_action: ^0.2.0
|
||||||
tor_detector_web: ^1.1.0
|
tor_detector_web: ^1.1.0
|
||||||
uni_links: ^0.5.1
|
uni_links: ^0.5.1
|
||||||
unifiedpush: ^5.0.0
|
unifiedpush: ^4.0.3
|
||||||
universal_html: ^2.0.8
|
universal_html: ^2.0.8
|
||||||
url_launcher: ^6.0.20
|
url_launcher: ^6.0.20
|
||||||
vibration: ^1.7.4-nullsafety.0
|
vibration: ^1.7.4-nullsafety.0
|
||||||
@ -92,7 +92,7 @@ dependencies:
|
|||||||
webrtc_interface: ^1.0.13
|
webrtc_interface: ^1.0.13
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
dart_code_metrics: ^5.7.4
|
dart_code_metrics: ^4.10.1
|
||||||
flutter_lints: ^2.0.1
|
flutter_lints: ^2.0.1
|
||||||
flutter_native_splash: ^2.0.3+1
|
flutter_native_splash: ^2.0.3+1
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
Loading…
Reference in New Issue
Block a user