fix: Minor padding bugs

This commit is contained in:
Krille Fear 2021-11-14 11:53:43 +01:00
commit d71cb9bdc4
3 changed files with 10 additions and 5 deletions

View file

@ -127,6 +127,7 @@ class ChatView extends StatelessWidget {
context: context, future: () => controller.room.join());
}
final bottomSheetPadding = FluffyThemes.isColumnMode(context) ? 16.0 : 8.0;
final horizontalPadding = FluffyThemes.isColumnMode(context) ? 8.0 : 0.0;
return VWidgetGuard(
onSystemPop: (redirector) async {
@ -205,9 +206,11 @@ class ChatView extends StatelessWidget {
controller.filteredEvents[i].eventId] = i;
}
return ListView.custom(
padding: const EdgeInsets.only(
padding: EdgeInsets.only(
top: 16,
bottom: 4,
left: horizontalPadding,
right: horizontalPadding,
),
reverse: true,
controller: controller.scrollController,