Change api key
This commit is contained in:
parent
fc5f25b210
commit
3f989ac7b6
|
@ -47,7 +47,7 @@ android {
|
|||
applicationId "com.stonegate.tsacdop"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 28
|
||||
versionCode 2
|
||||
versionCode 3
|
||||
versionName flutterVersionName
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -173,7 +173,7 @@ class AudioPlayerNotifier extends ChangeNotifier {
|
|||
super.addListener(listener);
|
||||
_queueUpdate = false;
|
||||
await AudioService.connect();
|
||||
bool running = await AudioService.running;
|
||||
bool running = AudioService.running;
|
||||
if (running) {}
|
||||
}
|
||||
|
||||
|
|
|
@ -91,13 +91,11 @@ class _DownloadButtonState extends State<DownloadButton> {
|
|||
}
|
||||
|
||||
Future<bool> _checkPermmison() async {
|
||||
PermissionStatus permission = await PermissionHandler()
|
||||
.checkPermissionStatus(PermissionGroup.storage);
|
||||
PermissionStatus permission = await Permission.storage.status;
|
||||
if (permission != PermissionStatus.granted) {
|
||||
Map<PermissionGroup, PermissionStatus> permissions =
|
||||
await PermissionHandler()
|
||||
.requestPermissions([PermissionGroup.storage]);
|
||||
if (permissions[PermissionGroup.storage] == PermissionStatus.granted) {
|
||||
Map<Permission, PermissionStatus> permissions =
|
||||
await [Permission.storage].request();
|
||||
if (permissions[Permission.storage] == PermissionStatus.granted) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
@ -72,7 +72,7 @@ class AboutApp extends StatelessWidget {
|
|||
image: AssetImage('assets/logo.png'),
|
||||
height: 80,
|
||||
),
|
||||
Text('Version: 0.1.7'),
|
||||
Text('Version: 0.1.8'),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -17,7 +17,6 @@ import 'package:tsacdop/home/audiopanel.dart';
|
|||
import 'package:tsacdop/util/pageroute.dart';
|
||||
import 'package:tsacdop/util/colorize.dart';
|
||||
import 'package:tsacdop/util/context_extension.dart';
|
||||
import 'package:tsacdop/util/day_night_switch.dart';
|
||||
import 'package:tsacdop/util/custompaint.dart';
|
||||
|
||||
class MyRectangularTrackShape extends RectangularSliderTrackShape {
|
||||
|
|
|
@ -421,7 +421,7 @@ class HistoryChart extends StatelessWidget {
|
|||
dotData: FlDotData(
|
||||
show: true,
|
||||
dotSize: 5,
|
||||
dotColor: Theme.of(context).accentColor,
|
||||
// getDotColor: Theme.of(context).accentColor,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
20
pubspec.yaml
20
pubspec.yaml
|
@ -11,7 +11,7 @@ description: An easy-use podacasts player.
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 0.1.7
|
||||
version: 0.1.8
|
||||
|
||||
environment:
|
||||
sdk: ">=2.6.0 <3.0.0"
|
||||
|
@ -32,18 +32,18 @@ dev_dependencies:
|
|||
flutter_html: ^0.11.1
|
||||
path_provider: ^1.6.1
|
||||
color_thief_flutter: ^1.0.2
|
||||
provider: ^4.0.4
|
||||
google_fonts: ^0.3.10
|
||||
provider: ^4.0.5
|
||||
google_fonts: ^0.4.0
|
||||
dio: ^3.0.9
|
||||
file_picker: ^1.5.0+2
|
||||
file_picker: ^1.6.2
|
||||
xml: ^3.5.0
|
||||
marquee: ^1.3.1
|
||||
flutter_downloader: ^1.4.1
|
||||
permission_handler: ^4.4.0+hotfix.2
|
||||
fluttertoast: ^4.0.0
|
||||
flutter_downloader: ^1.4.3
|
||||
permission_handler: ^5.0.0+hotfix.3
|
||||
fluttertoast: ^4.0.1
|
||||
intl: ^0.16.1
|
||||
url_launcher: ^5.4.2
|
||||
image: ^2.1.4
|
||||
image: ^2.1.12
|
||||
shared_preferences: ^0.5.6+1
|
||||
uuid: ^2.0.4
|
||||
tuple: ^1.0.3
|
||||
|
@ -51,8 +51,8 @@ dev_dependencies:
|
|||
workmanager: ^0.2.2
|
||||
flutter_colorpicker: ^0.3.2
|
||||
app_settings: ^3.0.1
|
||||
fl_chart: ^0.8.7
|
||||
audio_service: ^0.6.2
|
||||
fl_chart: ^0.9.0
|
||||
audio_service: ^0.7.1
|
||||
just_audio:
|
||||
git:
|
||||
url: https://github.com/stonega/just_audio.git
|
||||
|
|
Loading…
Reference in New Issue