feat: add option to configure reply swipe direction
This commit is contained in:
parent
fd084d9ed3
commit
3f81dc5187
6 changed files with 18 additions and 1 deletions
|
|
@ -515,7 +515,9 @@ class Message extends StatelessWidget {
|
|||
child: Icon(Icons.check_outlined),
|
||||
),
|
||||
),
|
||||
direction: SwipeDirection.endToStart,
|
||||
direction: AppConfig.swipeRightToLeftToReply
|
||||
? SwipeDirection.endToStart
|
||||
: SwipeDirection.startToEnd,
|
||||
onSwipe: (_) => onSwipe(),
|
||||
child: Container(
|
||||
constraints: const BoxConstraints(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue