Remove actions here

There's not really anything to go back to
This commit is contained in:
Roland Geider
2026-03-21 13:51:35 +01:00
parent 54a6db2e4b
commit 4dd1e5ff28

View File

@@ -1,6 +1,6 @@
/*
* This file is part of wger Workout Manager <https://github.com/wger-project>.
* Copyright (C) 2020, 2021 wger Team
* Copyright (c) 2020 - 2026 wger Team
*
* wger Workout Manager is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
@@ -40,12 +40,7 @@ class UpdateServerScreen extends StatelessWidget {
style: Theme.of(context).textTheme.headlineSmall,
),
content: Text(i18n.serverUpdateContent(MIN_SERVER_VERSION)),
actions: [
TextButton(
onPressed: () => Navigator.of(context).pop(),
child: Text(MaterialLocalizations.of(context).closeButtonLabel),
),
],
actions: null,
),
);
}