Skip to content

Commit

Permalink
chore(app): fix code problems
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Dec 27, 2023
1 parent 3d23361 commit 80d72a7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) {

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
throw new Exception("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
Expand Down
4 changes: 2 additions & 2 deletions app/lib/common/widgets/pharme_logo_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import '../module.dart';

class PharMeLogoPage extends StatelessWidget {
const PharMeLogoPage({
Key? key,
super.key,
this.child,
}) : super(key: key);
});

final Widget? child;

Expand Down
2 changes: 1 addition & 1 deletion app/lib/more/module.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export 'pages/more.dart';
export 'pages/privacy.dart';
export 'pages/terms.dart';

@RoutePage()
@RoutePage()
class MoreRootPage extends AutoRouter {}

AutoRoute aboutRoute() => AutoRoute(path: 'about', page: AboutRoute.page);
Expand Down
2 changes: 1 addition & 1 deletion app/lib/report/module.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import '../common/module.dart';
export 'pages/gene.dart';
export 'pages/report.dart';

@RoutePage()
@RoutePage()
class ReportRootPage extends AutoRouter {}

AutoRoute geneRoute() => AutoRoute(page: GeneRoute.page);
Expand Down
2 changes: 1 addition & 1 deletion app/lib/search/module.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '../common/module.dart';
// For generated routes
export 'pages/search.dart';

@RoutePage()
@RoutePage()
class SearchRootPage extends AutoRouter {}

AutoRoute searchRoute({ required List<AutoRoute> children }) => AutoRoute(
Expand Down

0 comments on commit 80d72a7

Please sign in to comment.