From 04b4129c018a8fcad646815bff198a155a006995 Mon Sep 17 00:00:00 2001 From: tb-rules10 Date: Wed, 15 Mar 2023 12:34:23 +0530 Subject: [PATCH] removed api key from version control --- .gitignore | 1 + lib/pages/RadioPage.dart | 2 +- lib/pages/SearchPage.dart | 4 ++-- lib/pages/musicpage.dart | 0 4 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 lib/pages/musicpage.dart diff --git a/.gitignore b/.gitignore index 24476c5..4c5ff82 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ migrate_working_dir/ .pub-cache/ .pub/ /build/ +/lib/api_key.dart # Symbolication related app.*.symbols diff --git a/lib/pages/RadioPage.dart b/lib/pages/RadioPage.dart index 8f423aa..d853f82 100644 --- a/lib/pages/RadioPage.dart +++ b/lib/pages/RadioPage.dart @@ -3,7 +3,7 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:velocity_x/velocity_x.dart'; -import 'package:demo_music/models/RadioModel.dart'; +import '../models/RadioModel.dart'; import '../constants.dart'; class RadioHS extends StatefulWidget { diff --git a/lib/pages/SearchPage.dart b/lib/pages/SearchPage.dart index e275e03..5d0478c 100644 --- a/lib/pages/SearchPage.dart +++ b/lib/pages/SearchPage.dart @@ -4,6 +4,7 @@ import 'package:flutter/material.dart'; import 'package:demo_music/models/API-Model.dart'; import 'package:demo_music/components/videoPlayer.dart'; import '../constants.dart'; +import'../api_key.dart'; class SearchPage extends StatefulWidget { const SearchPage({Key? key}) : super(key: key); @@ -21,7 +22,6 @@ class _SearchPageState extends State { List