From 85b5d4dc7c1129e53e2202ee55489490c3f38896 Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 18 Dec 2024 18:21:37 +0100 Subject: [PATCH] updated gitignore and changed content directory --- .gitignore | 2 +- lib/services/content_provider.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7c26aba..a1027b0 100644 --- a/.gitignore +++ b/.gitignore @@ -156,4 +156,4 @@ app.*.symbols !.vscode/settings.json # Custom -content.json \ No newline at end of file +content/ \ No newline at end of file diff --git a/lib/services/content_provider.dart b/lib/services/content_provider.dart index e1e1140..38bb53e 100644 --- a/lib/services/content_provider.dart +++ b/lib/services/content_provider.dart @@ -6,7 +6,7 @@ import 'package:resume/constants.dart'; class ContentProvider { ContentProvider._(); - static const String _jsonPath = 'assets/content.json'; + static const String _jsonPath = 'assets/content/content.json'; static Future init() async { try { diff --git a/pubspec.yaml b/pubspec.yaml index 31f4f33..7363561 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -27,7 +27,7 @@ flutter: uses-material-design: true assets: - - assets/content.json + - assets/content/content.json - assets/profile.jpg - assets/de_icon.png - assets/gb_icon.png