Added safe area around textinput in talk

This commit is contained in:
Elias Müller 2023-08-10 20:29:55 +02:00
parent 7fe648ea77
commit 0be070b460
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class _AppState extends State<App> {
border: Border.symmetric(vertical: BorderSide.none, horizontal: BorderSide(color: Colors.grey, width: 1)) border: Border.symmetric(vertical: BorderSide.none, horizontal: BorderSide(color: Colors.grey, width: 1))
), ),
screenTransitionAnimation: const ScreenTransitionAnimation(animateTabTransition: false, curve: Curves.ease, duration: Duration(milliseconds: 200)), screenTransitionAnimation: const ScreenTransitionAnimation(animateTabTransition: false, curve: Curves.ease, duration: Duration(milliseconds: 200)),
screens: [ screens: const [
Breaker(breaker: BreakerArea.timetable, child: Timetable()), Breaker(breaker: BreakerArea.timetable, child: Timetable()),
Breaker(breaker: BreakerArea.talk, child: ChatList()), Breaker(breaker: BreakerArea.talk, child: ChatList()),
Breaker(breaker: BreakerArea.files, child: Files([])), Breaker(breaker: BreakerArea.files, child: Files([])),

View File

@ -108,7 +108,7 @@ class _ChatViewState extends State<ChatView> {
children: messages.reversed.toList(), children: messages.reversed.toList(),
), ),
), ),
ChatTextfield(widget.room.token), SafeArea(child: ChatTextfield(widget.room.token)),
], ],
), ),
) )