mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +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:future_loading_dialog/future_loading_dialog.dart';
|
||||||
import 'package:matrix/matrix.dart';
|
import 'package:matrix/matrix.dart';
|
||||||
import 'package:receive_sharing_intent/receive_sharing_intent.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:uni_links/uni_links.dart';
|
||||||
import 'package:vrouter/vrouter.dart';
|
import 'package:vrouter/vrouter.dart';
|
||||||
|
|
||||||
@ -158,10 +157,6 @@ class ChatListController extends State<ChatList> with TickerProviderStateMixin {
|
|||||||
|
|
||||||
final StreamController<Client> _clientStream = StreamController.broadcast();
|
final StreamController<Client> _clientStream = StreamController.broadcast();
|
||||||
|
|
||||||
SnappingSheetController snappingSheetController = SnappingSheetController();
|
|
||||||
|
|
||||||
ScrollController snappingSheetScrollContentController = ScrollController();
|
|
||||||
|
|
||||||
Stream<Client> get clientStream => _clientStream.stream;
|
Stream<Client> get clientStream => _clientStream.stream;
|
||||||
|
|
||||||
void addAccountAction() => VRouter.of(context).to('/settings/account');
|
void addAccountAction() => VRouter.of(context).to('/settings/account');
|
||||||
@ -562,8 +557,6 @@ class ChatListController extends State<ChatList> with TickerProviderStateMixin {
|
|||||||
VRouter.of(context).to('/rooms');
|
VRouter.of(context).to('/rooms');
|
||||||
setState(() {
|
setState(() {
|
||||||
_activeSpacesEntry = null;
|
_activeSpacesEntry = null;
|
||||||
snappingSheetController = SnappingSheetController();
|
|
||||||
snappingSheetScrollContentController = ScrollController();
|
|
||||||
selectedRoomIds.clear();
|
selectedRoomIds.clear();
|
||||||
Matrix.of(context).setActiveClient(client);
|
Matrix.of(context).setActiveClient(client);
|
||||||
});
|
});
|
||||||
@ -659,12 +652,6 @@ class ChatListController extends State<ChatList> with TickerProviderStateMixin {
|
|||||||
void _hackyWebRTCFixForWeb() {
|
void _hackyWebRTCFixForWeb() {
|
||||||
Matrix.of(context).voipPlugin?.context = context;
|
Matrix.of(context).voipPlugin?.context = context;
|
||||||
}
|
}
|
||||||
|
|
||||||
expandSpaces() {
|
|
||||||
snappingSheetController.snapToPosition(
|
|
||||||
const SnappingPosition.factor(positionFactor: 0.5),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum EditBundleAction { addToBundle, removeFromBundle }
|
enum EditBundleAction { addToBundle, removeFromBundle }
|
||||||
|
@ -1582,15 +1582,6 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.0"
|
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:
|
source_map_stack_trace:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -76,7 +76,6 @@ dependencies:
|
|||||||
share_plus: ^4.0.9
|
share_plus: ^4.0.9
|
||||||
shared_preferences: ^2.0.13
|
shared_preferences: ^2.0.13
|
||||||
slugify: ^2.0.0
|
slugify: ^2.0.0
|
||||||
snapping_sheet: ^3.1.0
|
|
||||||
swipe_to_action: ^0.2.0
|
swipe_to_action: ^0.2.0
|
||||||
uni_links: ^0.5.1
|
uni_links: ^0.5.1
|
||||||
unifiedpush: ^4.0.0
|
unifiedpush: ^4.0.0
|
||||||
@ -152,9 +151,3 @@ dependency_overrides:
|
|||||||
git:
|
git:
|
||||||
url: https://github.com/xeinebiu/qr_code_scanner.git
|
url: https://github.com/xeinebiu/qr_code_scanner.git
|
||||||
ref: fix_break_changes_platform
|
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