Refresh desktop dashboard actions on wallet change

This commit is contained in:
OmarHatem 2023-02-10 20:26:07 +02:00
parent a116241185
commit 2b2bebe98f

View file

@ -2,6 +2,7 @@ import 'package:cake_wallet/entities/main_actions.dart';
import 'package:cake_wallet/src/screens/dashboard/desktop_widgets/desktop_action_button.dart';
import 'package:cake_wallet/view_model/dashboard/dashboard_view_model.dart';
import 'package:flutter/material.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
class DesktopDashboardActions extends StatelessWidget {
final DashboardViewModel dashboardViewModel;
@ -10,6 +11,8 @@ class DesktopDashboardActions extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Observer(
builder: (_) {
return Column(
children: [
const SizedBox(height: 16),
@ -68,4 +71,6 @@ class DesktopDashboardActions extends StatelessWidget {
],
);
}
);
}
}