Skip to content

Commit

Permalink
fix(common_variables): adjust horizontal padding for better layout
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Mar 2, 2025
1 parent 0ee24d3 commit 13b7805
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions lib/services/playlist_sharing.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
* Copyright (C) 2025 Valeri Gokadze
*
* Musify is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Musify is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*
* For more information about Musify, including how to contribute,
* please visit: https://github.com/gokadzev/Musify
*/

import 'dart:convert';

import 'package:musify/main.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/utilities/common_variables.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ const commonListViewBottmomPadding = EdgeInsets.only(bottom: 8);

const commonBarContentPadding = EdgeInsets.symmetric(
vertical: 12,
horizontal: 3,
horizontal: 10,
);
2 changes: 1 addition & 1 deletion lib/widgets/custom_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CustomBar extends StatelessWidget {
color: backgroundColor,
shape: RoundedRectangleBorder(borderRadius: borderRadius),
child: Padding(
padding: commonBarContentPadding,
padding: const EdgeInsets.symmetric(vertical: 12, horizontal: 3),
child: InkWell(
splashColor: Colors.transparent,
highlightColor: Colors.transparent,
Expand Down

0 comments on commit 13b7805

Please sign in to comment.