Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lsongdev committed Sep 5, 2024
1 parent b88cd7f commit 8486ea4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 65 deletions.
Binary file removed Ducky.png
Binary file not shown.
Binary file removed DuckyTransparent.png
Binary file not shown.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
applicationId = "me.lsong.mytv"
minSdk = 21
targetSdk = 34
versionCode = 1
versionName = "1.4.4"
versionCode = 2
versionName = "1.0.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
11 changes: 2 additions & 9 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.software.leanback"
android:required="false" />
<uses-feature android:name="android.software.leanback" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

<application
android:name=".MyTVApplication"
android:allowBackup="true"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/me/lsong/mytv/ui/MainScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.focus.FocusRequester
import androidx.compose.ui.focus.focusRequester
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.key.Key
import androidx.compose.ui.input.key.KeyEventType
import androidx.compose.ui.input.key.key
Expand Down Expand Up @@ -222,6 +223,7 @@ fun MainContent(
showMetadataProvider = { settingsViewModel.debugShowVideoPlayerMetadata },
modifier = Modifier
.fillMaxSize()
.background(Color.Black)
.focusRequester(focusRequester)
.focusable()
.handleLeanbackKeyEvents(
Expand Down
Binary file modified app/src/main/res/drawable-xhdpi/ic_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 0 additions & 11 deletions app/src/main/res/raw/index_css.css

This file was deleted.

43 changes: 0 additions & 43 deletions app/src/main/res/raw/index_js.js

This file was deleted.

0 comments on commit 8486ea4

Please sign in to comment.