add support for network calculation from the calculator
All checks were successful
Release / meta (push) Successful in 1m39s
Release / linux-build (push) Successful in 1m55s
Release / web-build (push) Successful in 3m12s
Release / android-build (push) Successful in 6m48s
Release / release-master (push) Successful in 22s
Release / release-dev (push) Successful in 28s
All checks were successful
Release / meta (push) Successful in 1m39s
Release / linux-build (push) Successful in 1m55s
Release / web-build (push) Successful in 3m12s
Release / android-build (push) Successful in 6m48s
Release / release-master (push) Successful in 22s
Release / release-dev (push) Successful in 28s
This commit is contained in:
@@ -699,11 +699,8 @@ class _TractionPageState extends State<TractionPage> {
|
||||
);
|
||||
|
||||
final hasAdminActions = isElevated;
|
||||
final hasMoreMenu = true;
|
||||
|
||||
final moreButton = !hasMoreMenu
|
||||
? null
|
||||
: PopupMenuButton<_TractionMoreAction>(
|
||||
final moreButton = PopupMenuButton<_TractionMoreAction>(
|
||||
tooltip: 'More options',
|
||||
onSelected: (action) async {
|
||||
switch (action) {
|
||||
@@ -859,11 +856,11 @@ class _TractionPageState extends State<TractionPage> {
|
||||
final desktopActions = [
|
||||
refreshButton,
|
||||
newTractionButton,
|
||||
if (moreButton != null) moreButton,
|
||||
moreButton,
|
||||
];
|
||||
|
||||
final mobileActions = [
|
||||
if (moreButton != null) moreButton,
|
||||
moreButton,
|
||||
newTractionButton,
|
||||
refreshButton,
|
||||
];
|
||||
@@ -1041,8 +1038,9 @@ class _TractionPageState extends State<TractionPage> {
|
||||
if (!mounted) return;
|
||||
errorMessage = e.toString();
|
||||
} finally {
|
||||
if (!mounted) return;
|
||||
setModalState(() => uploading = false);
|
||||
if (mounted) {
|
||||
setModalState(() => uploading = false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user