Skip to content

Commit

Permalink
Add first map
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Dec 10, 2023
1 parent 247305f commit f9db53e
Show file tree
Hide file tree
Showing 37 changed files with 1,508 additions and 1,093 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
run: |
flutter clean
flutter pub get
dart run build_runner build --delete-conflicting-outputs
flutter doctor -v
- name: Import files
if: ${{ github.event_name != 'pull_request' }}
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
run: |
flutter clean
flutter pub get
dart run build_runner build --delete-conflicting-outputs
flutter doctor -v
- name: 🏭 Build nightly
if: ${{ github.ref != 'refs/tags/stable' }}
Expand Down Expand Up @@ -155,6 +157,7 @@ jobs:
run: |
flutter clean
flutter pub get
dart run build_runner build --delete-conflicting-outputs
flutter doctor -v
- name: 🏭 Build nightly
if: ${{ github.ref != 'refs/tags/stable' }}
Expand Down Expand Up @@ -266,6 +269,7 @@ jobs:
run: |
flutter clean
flutter pub get
dart run build_runner build --delete-conflicting-outputs
flutter doctor -v
- name: 🏭 Build nightly
if: ${{ github.ref != 'refs/tags/stable' }}
Expand Down Expand Up @@ -333,6 +337,7 @@ jobs:
run: |
flutter clean
flutter pub get
dart run build_runner build --delete-conflicting-outputs
flutter doctor -v
- name: 🏭 Build
run: |
Expand Down Expand Up @@ -559,6 +564,7 @@ jobs:
channel: 'master'
- name: 📦 Get dependencies
run: |
dart run build_runner build --delete-conflicting-outputs
flutter pub get
- name: Setup Fastlane
uses: ruby/setup-ruby@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
flutter --version
- name: Install dependencies
run: |
dart run build_runner build --delete-conflicting-outputs
flutter pub get
# Uncomment this step to verify the use of 'dart format' on each commit.
- name: Verify formatting
Expand Down
5 changes: 5 additions & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
.pub-cache/
.pub/
/build/
*.mappable.dart

# Exceptions to above rules.
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

# Session related
*.png~
*.tiled-session
Binary file added app/images/player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 14 additions & 11 deletions app/lib/cubits/settings.dart
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
import 'package:dart_mappable/dart_mappable.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:shared_preferences/shared_preferences.dart';

part 'settings.freezed.dart';
part 'settings.mapper.dart';

@freezed
class QeckSettings with _$QeckSettings {
const QeckSettings._();
@MappableClass()
class QeckSettings with QeckSettingsMappable {
final String localeTag;
final ThemeMode theme;
final String design;
final bool nativeTitleBar;

const factory QeckSettings({
@Default('') String localeTag,
@Default(ThemeMode.system) ThemeMode theme,
@Default('') String design,
@Default(false) bool nativeTitleBar,
}) = _FlowSettings;
const QeckSettings({
this.localeTag = '',
this.theme = ThemeMode.system,
this.design = '',
this.nativeTitleBar = false,
});

Locale? get locale {
if (localeTag.isEmpty) {
Expand Down
199 changes: 0 additions & 199 deletions app/lib/cubits/settings.freezed.dart

This file was deleted.

Loading

1 comment on commit f9db53e

@vercel
Copy link

@vercel vercel bot commented on f9db53e Dec 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

qeck – ./app

qeck.vercel.app
qeck-linwood.vercel.app
qeck-git-develop-linwood.vercel.app
qeck.linwood.dev

Please sign in to comment.