mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
chore: remove snapping sheet
- remove snapping sheet Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
fed0abbfd1
commit
874beb943a
@ -8,7 +8,6 @@ import 'package:flutter_gen/gen_l10n/l10n.dart';
|
||||
import 'package:future_loading_dialog/future_loading_dialog.dart';
|
||||
import 'package:matrix/matrix.dart';
|
||||
import 'package:receive_sharing_intent/receive_sharing_intent.dart';
|
||||
import 'package:snapping_sheet/snapping_sheet.dart';
|
||||
import 'package:uni_links/uni_links.dart';
|
||||
import 'package:vrouter/vrouter.dart';
|
||||
|
||||
@ -158,10 +157,6 @@ class ChatListController extends State<ChatList> with TickerProviderStateMixin {
|
||||
|
||||
final StreamController<Client> _clientStream = StreamController.broadcast();
|
||||
|
||||
SnappingSheetController snappingSheetController = SnappingSheetController();
|
||||
|
||||
ScrollController snappingSheetScrollContentController = ScrollController();
|
||||
|
||||
Stream<Client> get clientStream => _clientStream.stream;
|
||||
|
||||
void addAccountAction() => VRouter.of(context).to('/settings/account');
|
||||
@ -562,8 +557,6 @@ class ChatListController extends State<ChatList> with TickerProviderStateMixin {
|
||||
VRouter.of(context).to('/rooms');
|
||||
setState(() {
|
||||
_activeSpacesEntry = null;
|
||||
snappingSheetController = SnappingSheetController();
|
||||
snappingSheetScrollContentController = ScrollController();
|
||||
selectedRoomIds.clear();
|
||||
Matrix.of(context).setActiveClient(client);
|
||||
});
|
||||
@ -659,12 +652,6 @@ class ChatListController extends State<ChatList> with TickerProviderStateMixin {
|
||||
void _hackyWebRTCFixForWeb() {
|
||||
Matrix.of(context).voipPlugin?.context = context;
|
||||
}
|
||||
|
||||
expandSpaces() {
|
||||
snappingSheetController.snapToPosition(
|
||||
const SnappingPosition.factor(positionFactor: 0.5),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
enum EditBundleAction { addToBundle, removeFromBundle }
|
||||
|
@ -1582,15 +1582,6 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
snapping_sheet:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: listenable
|
||||
resolved-ref: "2d9f2a40590c13aadfd226c2e41b08e155e6a92e"
|
||||
url: "https://github.com/TheOneWithTheBraid/snapping_sheet.git"
|
||||
source: git
|
||||
version: "3.1.0"
|
||||
source_map_stack_trace:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -76,7 +76,6 @@ dependencies:
|
||||
share_plus: ^4.0.9
|
||||
shared_preferences: ^2.0.13
|
||||
slugify: ^2.0.0
|
||||
snapping_sheet: ^3.1.0
|
||||
swipe_to_action: ^0.2.0
|
||||
uni_links: ^0.5.1
|
||||
unifiedpush: ^4.0.0
|
||||
@ -152,9 +151,3 @@ dependency_overrides:
|
||||
git:
|
||||
url: https://github.com/xeinebiu/qr_code_scanner.git
|
||||
ref: fix_break_changes_platform
|
||||
# wating for `Listenable` implementation
|
||||
# Upstream pull request: https://github.com/AdamJonsson/snapping_sheet/pull/84
|
||||
snapping_sheet:
|
||||
git:
|
||||
url: https://github.com/TheOneWithTheBraid/snapping_sheet.git
|
||||
ref: listenable
|
||||
|
Loading…
Reference in New Issue
Block a user