mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
Minor UI Fixes (#3108)
* Fix Filter button padding * Fix sign/verify closing popup
This commit is contained in:
@@ -67,7 +67,7 @@ class AssetsTopBar extends StatelessWidget {
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12.0),
|
||||
child: Row(
|
||||
spacing: 0,
|
||||
spacing: 6,
|
||||
children: [
|
||||
CakeImageWidget(
|
||||
imageUrl: "assets/new-ui/options_slider.svg",
|
||||
|
||||
@@ -144,13 +144,13 @@ class _SignPageState extends State<SignPage> {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
showPopUp<void>(
|
||||
context: context,
|
||||
builder: (_) {
|
||||
builder: (_context) {
|
||||
return AlertWithOneAction(
|
||||
alertTitle: S.current.error,
|
||||
alertContent: state.error,
|
||||
buttonText: S.of(context).ok,
|
||||
buttonAction: () {
|
||||
if (context.mounted && Navigator.canPop(context)) Navigator.of(context).pop();
|
||||
if (context.mounted && Navigator.canPop(_context)) Navigator.of(_context).pop();
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user