Skip to content

Commit

Permalink
closed_household package dart analyze fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
naveenr-egov committed Sep 5, 2024
1 parent 218e9d0 commit 54b40b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,8 @@ class ClosedHouseholdSummaryPageState
LabelValuePair(
label: localizations.translate(i18
.closeHousehold.closeHouseholdGpsAccuracyLabel),
value: householdState.locationAccuracy != null
? '${householdState.locationAccuracy.toStringAsFixed(2)} ${localizations.translate(i18.common.coreCommonMeters)}'
: localizations
.translate(i18.common.coreCommonNA),
value:
'${householdState.locationAccuracy.toStringAsFixed(2)} ${localizations.translate(i18.common.coreCommonMeters)}',
),
]),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import 'closed_household_router.gm.dart';

@AutoRouterConfig.module()
class ClosedHouseholdPackageRoute extends $ClosedHouseholdPackageRoute {
@override
RouteType get defaultRouteType => const RouteType.material();

@override
List<AutoRoute> routes = [
AutoRoute(
page: ClosedHouseholdWrapperRoute.page,
Expand Down

0 comments on commit 54b40b5

Please sign in to comment.