Skip to content

Commit

Permalink
fixed a bug causing TV interface to appear on phones
Browse files Browse the repository at this point in the history
  • Loading branch information
aldrinzigmundv committed Apr 20, 2024
1 parent 9ce6139 commit f5950d4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 20
targetSdkVersion 33
versionCode 10
versionName "2.0.1"
versionCode 11
versionName "2.0.2"
multiDexEnabled true
}
signingConfigs {
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/channelpage_iptv.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ class _ChannelPageIPTVState extends State<ChannelPageIPTV> {
super.initState();
index = widget.index;
storage = widget.storage;
isTV = widget.isTV;
WakelockPlus.enable();
_setupVideoPlayerController();
}
Expand All @@ -83,6 +82,7 @@ class _ChannelPageIPTVState extends State<ChannelPageIPTV> {

@override
Widget build(BuildContext context) {
isTV = widget.isTV;
return Scaffold(
appBar: (isTV)
? null
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/channelpage_youtube.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class _ChannelPageYouTubeState extends State<ChannelPageYouTube> {
super.initState();
index = widget.index;
storageProvider = widget.storageProvider;
isTV = widget.isTV;
WakelockPlus.enable();
}

Expand All @@ -48,6 +47,7 @@ class _ChannelPageYouTubeState extends State<ChannelPageYouTube> {

@override
Widget build(BuildContext context) {
isTV = widget.isTV;
return Scaffold(
appBar: (isTV)
? null
Expand Down
2 changes: 1 addition & 1 deletion lib/services/update.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class UpdateManager {
}

getUpdateMessage() {
return "Added compatibility to Google and Android TVs. Updated the Digilog TV channel list, thanks to our free, legal, and publicly available content provider - Free-TV/IPTV on GitHub.";
return "Fixed issue with Google and Android TV interface sometimes appearing on Android phones.";
}

removeUpdate(StorageProvider storage) async {
Expand Down
1 change: 1 addition & 0 deletions metadata/en-US/changelogs/11.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Fixed a bug causing TV interface to appear on phones

0 comments on commit f5950d4

Please sign in to comment.