Skip to content

Commit

Permalink
maybe...
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasESmith committed Jul 19, 2024
1 parent 39c7a18 commit a99e302
Show file tree
Hide file tree
Showing 4 changed files with 65,884 additions and 61,926 deletions.
2 changes: 1 addition & 1 deletion flutter_bootstrap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const MANIFEST = 'flutter-app-manifest';
const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';

const RESOURCES = {"flutter_bootstrap.js": "36b3ef1d4156fdd5e9133f2eb0d3c7e1",
const RESOURCES = {"flutter_bootstrap.js": "3cdf1dfdc39145649ef7005a5e4bfa02",
"version.json": "009c9e65172e010890f7f65fde438006",
"index.html": "4f5d89dcda34b48c192910b553ba44a4",
"/": "4f5d89dcda34b48c192910b553ba44a4",
"main.dart.js": "1d32892bb1a081ef33142372be2d6c79",
"main.dart.js": "db3d99736227b57f990469b3a70c3f01",
"prevent_default.js": "4eead4b4f3ce792bb2a736c47b83d77d",
"flutter.js": "383e55f7f3cce5be08fcf1f3881f585c",
"favicon.png": "5dcef449791fa27946b3d35ad8803796",
Expand Down
13 changes: 10 additions & 3 deletions lib/src/home/bloc/home_bloc.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'dart:developer';

import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:hydrated_bloc/hydrated_bloc.dart';
Expand Down Expand Up @@ -40,9 +41,9 @@ class HomeBloc extends HydratedBloc<HomeEvent, HomeState> {
_Started event,
Emitter<HomeState> emit,
) {
if (Modular.to.path == "/") {
ProjectsPage.route();
}
// if (Modular.to.path == "/") {
// ProjectsPage.route();
// }

var model = state.whenOrNull(
loaded: (AppData model) => model,
Expand Down Expand Up @@ -77,6 +78,12 @@ class HomeBloc extends HydratedBloc<HomeEvent, HomeState> {
AppData initAppState() {
log("WE ARE INSTANITLIZING OUR THING");

// var path = "/images";

// if (!kDebugMode) {
// path = "projects/assets/images";
// }

return AppData(
isAboutMeOpen: false,
isSearchOpen: false,
Expand Down
Loading

0 comments on commit a99e302

Please sign in to comment.