Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ahvvad committed Dec 25, 2024
1 parent 421f60a commit 24f721c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 14 deletions.
3 changes: 3 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Access internet -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!-- Access forground -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<application
android:label="Audira"
Expand Down
6 changes: 1 addition & 5 deletions lib/pages/albums_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import '../consts/colors.dart';
import '../consts/text_style.dart';
import '../controllers/player_controller.dart';
import '../widgets/custom_nav_bar.dart';
import '../widgets/float_botton.dart';

class AlbumsScreen extends StatefulWidget {
const AlbumsScreen({super.key});
Expand All @@ -22,7 +21,7 @@ class _AlbumsScreenState extends State<AlbumsScreen> {

@override
Widget build(BuildContext context) {
var controller = Get.put(PlayerController());
Get.put(PlayerController());
return Scaffold(
backgroundColor: Colors.transparent,
body: AnimatedContainer(
Expand All @@ -38,9 +37,6 @@ class _AlbumsScreenState extends State<AlbumsScreen> {
),
child: Scaffold(
appBar: appBar(),
// floatingActionButton: FloatBotton(controller: controller),
// floatingActionButtonLocation:
// FloatingActionButtonLocation.centerFloat,
backgroundColor: Colors.transparent,
body: Column(
children: <Widget>[
Expand Down
2 changes: 2 additions & 0 deletions lib/pages/home.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: unnecessary_null_comparison

import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:get/get.dart';
Expand Down
6 changes: 1 addition & 5 deletions lib/pages/playlist_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import '../consts/colors.dart';
import '../consts/text_style.dart';
import '../controllers/player_controller.dart';
import '../widgets/custom_nav_bar.dart';
import '../widgets/float_botton.dart';

class PlaylistScreen extends StatefulWidget {
const PlaylistScreen({super.key});
Expand All @@ -22,7 +21,7 @@ class _PlaylistScreenState extends State<PlaylistScreen> {

@override
Widget build(BuildContext context) {
var controller = Get.put(PlayerController());
Get.put(PlayerController());
return Scaffold(
backgroundColor: Colors.transparent,
body: AnimatedContainer(
Expand All @@ -38,9 +37,6 @@ class _PlaylistScreenState extends State<PlaylistScreen> {
),
child: Scaffold(
appBar: appBar(),
// floatingActionButton: FloatBotton(controller: controller),
// floatingActionButtonLocation:
// FloatingActionButtonLocation.centerFloat,
backgroundColor: Colors.transparent,
body: Column(
children: <Widget>[
Expand Down
24 changes: 20 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.3"
file:
dependency: transitive
description:
name: file
sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
url: "https://pub.dev"
source: hosted
version: "6.1.4"
fixnum:
dependency: transitive
description:
Expand Down Expand Up @@ -464,14 +472,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.8"
process:
dependency: transitive
description:
name: process
sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09"
url: "https://pub.dev"
source: hosted
version: "4.2.4"
rxdart:
dependency: transitive
description:
name: rxdart
sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962"
sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb"
url: "https://pub.dev"
source: hosted
version: "0.28.0"
version: "0.27.7"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -665,10 +681,10 @@ packages:
dependency: transitive
description:
name: xdg_directories
sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15"
sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86
url: "https://pub.dev"
source: hosted
version: "1.1.0"
version: "0.2.0+3"
xml:
dependency: transitive
description:
Expand Down

0 comments on commit 24f721c

Please sign in to comment.