Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Warning when running out of main.dart #3687

Merged
merged 3 commits into from
Feb 8, 2023

Conversation

M123-dev
Copy link
Member

@M123-dev M123-dev commented Feb 8, 2023

We got some questions on slack from people who had problems running the app:

root isolate couldn't be started

Which happens when you try to run the app from main.dart

We got some questions on slack from people who had problems running the app:

root isolate couldn't be started

Which happens when you try to run the app from main.dart
@M123-dev M123-dev requested a review from a team as a code owner February 8, 2023 17:50
Copy link
Contributor

@monsieurtanuki monsieurtanuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @M123-dev!
Not sure what the pubspec.lock does here...
The rest looks OK.

url: "https://pub.dev"
source: hosted
version: "0.8.6+6"
version: "0.8.6+7"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come?

url: "https://pub.dev"
source: hosted
version: "6.0.18"
version: "6.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come?

@@ -31,6 +33,23 @@ import 'package:smooth_app/themes/smooth_theme.dart';
import 'package:smooth_app/themes/theme_provider.dart';
import 'package:smooth_app/widgets/smooth_scaffold.dart';

void main() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't checked if it works, but it's a good idea!

@codecov-commenter
Copy link

Codecov Report

Merging #3687 (7eecf41) into develop (3a0e71a) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           develop   #3687      +/-   ##
==========================================
- Coverage     9.35%   9.34%   -0.01%     
==========================================
  Files          272     272              
  Lines        13712   13723      +11     
==========================================
  Hits          1283    1283              
- Misses       12429   12440      +11     
Impacted Files Coverage Δ
packages/smooth_app/lib/main.dart 13.70% <0.00%> (-1.34%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@M123-dev
Copy link
Member Author

M123-dev commented Feb 8, 2023

I had a weird android native problem which I thought would be fixed by pub upgrade. In the end, it was just me not having java not set up the right way, but that's why it changed.
I just regenerated, but it resulted in the same exact file

@M123-dev M123-dev merged commit ad94f80 into develop Feb 8, 2023
@M123-dev M123-dev deleted the chore-main.dart-warning branch February 8, 2023 19:35
@M123-dev
Copy link
Member Author

M123-dev commented Feb 8, 2023

Thanks for the review @monsieurtanuki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants