Hide discount widgets for crypto flavor
This commit is contained in:
@@ -253,7 +253,7 @@ abstract class BaseState<T extends StatefulWidget> extends State<T> {
|
||||
EdgeInsets getInputFieldContainerPadding() {
|
||||
const double verticalPadding = 12.0;
|
||||
const double horizontalPadding = 16.0;
|
||||
return new EdgeInsets.only(top: 256.0,
|
||||
return new EdgeInsets.only(top: verticalPadding,
|
||||
bottom: verticalPadding,
|
||||
left: horizontalPadding,
|
||||
right: horizontalPadding);
|
||||
@@ -352,7 +352,7 @@ class EnsureVisibleWhenFocusedState extends State<EnsureVisibleWhenFocused> {
|
||||
// TODO: position doesn't seem to notify listeners when metrics change,
|
||||
// perhaps a NotificationListener around the scrollable could avoid
|
||||
// the need insert a delay here.
|
||||
await new Future.delayed(const Duration(milliseconds: 300));
|
||||
await new Future.delayed(const Duration(milliseconds: 1000));
|
||||
|
||||
if (!widget.focusNode.hasFocus)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user