From bb1038d33d198f2b5e27cccce35eb0d826d94d20 Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Thu, 30 Jun 2022 06:03:04 -0400 Subject: [PATCH] Bump `minSdkVersion` to 26 The `minSdkVersion` is now 26 (Android 8.0.0) due to the web player not working on versions below 8.0.0. --- android/app/build.gradle | 2 +- lib/screens/home/home.dart | 23 ++++++++--------------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 5a4f0c89..400cd68d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -49,7 +49,7 @@ android { defaultConfig { applicationId "com.tommychow.frosty" - minSdkVersion 19 + minSdkVersion 26 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/lib/screens/home/home.dart b/lib/screens/home/home.dart index 060cf147..5c74fcb3 100644 --- a/lib/screens/home/home.dart +++ b/lib/screens/home/home.dart @@ -1,5 +1,3 @@ -import 'dart:io'; - import 'package:flutter/material.dart'; import 'package:flutter_mobx/flutter_mobx.dart'; import 'package:frosty/core/auth/auth_store.dart'; @@ -46,20 +44,15 @@ class _HomeState extends State { content: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text( + children: const [ + Text( 'Thank you so much for downloading and trying out Frosty! Hopefully it will make your mobile Twitch viewing experience a little more enjoyable.'), - const SizedBox(height: 20.0), - const Text( - 'You can see the full changelog on the app store listing or the "Releases" section on the GitHub repo (link on the top right of settings).'), - const SizedBox(height: 20.0), - const Text('You can also find the FAQ on the GitHub repo (link in Settings -> Other).'), - const SizedBox(height: 20.0), - const Text('If you have any issues or feature requests for the app, please open an issue on GitHub.'), - if (Platform.isAndroid) ...[ - const SizedBox(height: 20.0), - const Text('NOTE: Due to limitations with the Twitch web player, video streams may not work on Android versions below 7.1.1.'), - ] + SizedBox(height: 20.0), + Text('You can see the full changelog on the app store listing or the "Releases" section on the GitHub repo (link on the top right of settings).'), + SizedBox(height: 20.0), + Text('You can also find the FAQ on the GitHub repo (link in Settings -> Other).'), + SizedBox(height: 20.0), + Text('If you have any issues or feature requests for the app, please open an issue on GitHub.'), ], ), actions: [