updated gitignore and changed content directory

This commit is contained in:
2024-12-18 18:21:37 +01:00
parent ebf1246a55
commit 85b5d4dc7c
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -156,4 +156,4 @@ app.*.symbols
!.vscode/settings.json !.vscode/settings.json
# Custom # Custom
content.json content/

View File

@@ -6,7 +6,7 @@ import 'package:resume/constants.dart';
class ContentProvider { class ContentProvider {
ContentProvider._(); ContentProvider._();
static const String _jsonPath = 'assets/content.json'; static const String _jsonPath = 'assets/content/content.json';
static Future<bool> init() async { static Future<bool> init() async {
try { try {

View File

@@ -27,7 +27,7 @@ flutter:
uses-material-design: true uses-material-design: true
assets: assets:
- assets/content.json - assets/content/content.json
- assets/profile.jpg - assets/profile.jpg
- assets/de_icon.png - assets/de_icon.png
- assets/gb_icon.png - assets/gb_icon.png