Skip to content

Commit

Permalink
Merge pull request #307 from commetchat/fix/ui
Browse files Browse the repository at this point in the history
Small ui fixes
  • Loading branch information
Airyzz authored Jul 6, 2024
2 parents c6a0289 + ac45b53 commit 6ba731b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions commet/lib/ui/molecules/space_selector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ class _SpaceSelectorState extends State<SpaceSelector> {
ImplicitlyAnimatedList(
itemData: widget.spaces,
shrinkWrap: true,
initialAnimation: false,
padding: const EdgeInsets.all(0),
physics: const NeverScrollableScrollPhysics(),
itemBuilder: (context, data) {
return buildSpaceIcon(
Expand Down
2 changes: 1 addition & 1 deletion tiamat/lib/atoms/text_button_expander.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class TextButtonExpander extends StatelessWidget {
this.avatarPlaceholderText,
this.enabled = true,
this.childrenPadding = const EdgeInsets.fromLTRB(8, 0, 0, 0),
this.textPadding = const EdgeInsets.fromLTRB(8, 0, 0, 0),
this.textPadding = const EdgeInsets.fromLTRB(0, 0, 0, 0),
});

final List<Widget> children;
Expand Down
6 changes: 3 additions & 3 deletions tiamat/lib/config/style/theme_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class ThemeBase {
collapsedShape:
RoundedRectangleBorder(borderRadius: BorderRadius.circular(8))),
listTileTheme: ListTileThemeData(
dense: true,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8)),
contentPadding: EdgeInsets.all(0)),
dense: true,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8)),
),
canvasColor: scheme.surface,
iconTheme: IconThemeData(color: scheme.secondary),
shadowColor: Colors.black.withAlpha(100),
Expand Down

0 comments on commit 6ba731b

Please sign in to comment.