feat: Add a confirmation dialog to update Manager button

This commit is contained in:
Alberto Ponces
2022-09-07 13:03:54 +01:00
parent 351b04dd46
commit 80eeafaf2b
5 changed files with 40 additions and 13 deletions

View File

@ -47,7 +47,8 @@ class HomeView extends StatelessWidget {
),
const SizedBox(height: 10),
LatestCommitCard(
onPressed: () => model.updateManager(context),
onPressed: () =>
model.showUpdateConfirmationDialog(context),
),
const SizedBox(height: 23),
I18nText(