Skip to content

Commit

Permalink
Merge pull request #1753 from nextcloud/fix/neon_framework/searchbar-…
Browse files Browse the repository at this point in the history
…paddings
  • Loading branch information
provokateurin authored Mar 11, 2024
2 parents bd88677 + 6b1e220 commit 96b379a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class AccountSwitcherButton extends StatelessWidget {
return IconButton(
onPressed: () async => _onPressed(context),
tooltip: NeonLocalizations.of(context).settingsAccount,
padding: const EdgeInsets.all(4),
padding: const EdgeInsets.all(8),
icon: const NeonUserAvatar(),
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/neon_framework/lib/src/widgets/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class _NeonAppBarState extends State<NeonAppBar> {
final drawerAlwaysVisible = navigationMode == global_options.NavigationMode.drawerAlwaysVisible;
return SearchBar(
hintText: hintText,
padding: const MaterialStatePropertyAll(EdgeInsetsDirectional.only(start: 4)),
padding: const MaterialStatePropertyAll(EdgeInsets.symmetric(horizontal: 8)),
textInputAction: TextInputAction.search,
leading: !drawerAlwaysVisible ? const DrawerButton() : null,
trailing: const [
Expand Down

0 comments on commit 96b379a

Please sign in to comment.