mirror of
https://github.com/tonytins/bullseye.git
synced 2025-03-22 15:12:19 +00:00
Dark theme
- Enabled Linux building - Tweaked Github actions
This commit is contained in:
parent
62c4fafc23
commit
2ec628352f
2 changed files with 17 additions and 15 deletions
24
.github/workflows/flutter.yml
vendored
24
.github/workflows/flutter.yml
vendored
|
@ -2,21 +2,21 @@ name: Flutter
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, master]
|
branches: [develop, main, "feature/**", "patch/**"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, master]
|
branches: [develop, main, "feature/**", "patch/**"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# linux:
|
linux:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - uses: subosito/flutter-action@v2
|
- uses: subosito/flutter-action@v2
|
||||||
# with:
|
with:
|
||||||
# channel: "stable"
|
channel: "stable"
|
||||||
# - run: flutter pub get
|
- run: flutter pub get
|
||||||
# - run: flutter config --enable-linux-desktop
|
- run: flutter config --enable-linux-desktop
|
||||||
# - run: flutter build linux
|
- run: flutter build linux
|
||||||
|
|
||||||
android:
|
android:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -39,7 +39,9 @@ class BullsEyeApp extends StatelessWidget {
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
title: gameTitle,
|
title: gameTitle,
|
||||||
// debugShowCheckedModeBanner: false,
|
// debugShowCheckedModeBanner: false,
|
||||||
home: GamePage());
|
home: GamePage(), darkTheme: ThemeData(brightness: Brightness.dark),
|
||||||
|
themeMode: ThemeMode.system,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue