-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: fix padding #445
Conversation
lib/config/ui_config.dart
Outdated
@@ -195,7 +195,7 @@ abstract class SksConfig { | |||
static const sizedBoxWidth = 5.0; | |||
static const radius = 8.0; | |||
static const innerPadding = EdgeInsets.symmetric(horizontal: 8, vertical: 4); | |||
static const outerPadding = EdgeInsets.only(right: 12, bottom: 2); | |||
static const outerPadding = EdgeInsets.only(right: 24, bottom: 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you check that this padding isn't used in any other place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I didn't check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try to comment condition that checks if menu is offline. We always have some kind of data (even old).
if (!sksMenuData.isMenuOnline) {
return const _SKSMenuLottieAnimation();
}
line 61 of sks_menu_screen.dart
So we have to wait till Monday :/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check if paddings didn't disturb other parts of UI. I left one comment regarding how to view sks's data even if menu's offline.
lib/config/ui_config.dart
Outdated
@@ -195,7 +195,7 @@ abstract class SksConfig { | |||
static const sizedBoxWidth = 5.0; | |||
static const radius = 8.0; | |||
static const innerPadding = EdgeInsets.symmetric(horizontal: 8, vertical: 4); | |||
static const outerPadding = EdgeInsets.only(right: 12, bottom: 2); | |||
static const outerPadding = EdgeInsets.only(right: 24, bottom: 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try to comment condition that checks if menu is offline. We always have some kind of data (even old).
if (!sksMenuData.isMenuOnline) {
return const _SKSMenuLottieAnimation();
}
line 61 of sks_menu_screen.dart
e46a969
to
79afe23
Compare
#444