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

Fix linux build #192

Closed
wants to merge 1 commit into from
Closed

Fix linux build #192

wants to merge 1 commit into from

Conversation

WinXaito
Copy link
Collaborator

With this fix, the app can be build.

image

But there is some bug on the example app for linux:

  • Windows cross are shown
  • The app is transparent some seconds after start (not tested in release, only in debug)

@@ -32,8 +32,6 @@ bool get isDesktop {
void main() async {
WidgetsFlutterBinding.ensureInitialized();

SystemTheme.accentInstance;
Copy link
Collaborator Author

@WinXaito WinXaito Feb 19, 2022

Choose a reason for hiding this comment

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

@bdlukaa I'm not sure about that, this had an utility ???

Copy link
Owner

Choose a reason for hiding this comment

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

Yes! It's used to get the current accent color of the device.

@bdlukaa
Copy link
Owner

bdlukaa commented Feb 19, 2022

Closing in favor of #191

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

Successfully merging this pull request may close these issues.

2 participants