Skip to content

Commit

Permalink
Don't show controls on start.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgang committed Apr 1, 2024
1 parent 2b636a6 commit a4f2444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ open class PlaybackFragment :
Log.i(TAG, "Trying to play last URL: $lastUrl")
preparePlay(lastUrl, lastMimeType)
}
(requireActivity() as MainActivity).hideControls()
}

@OptIn(markerClass = [UnstableApi::class])
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/main_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
android:layout_marginRight="15dp"
android:layout_centerVertical="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:visibility="gone">
</FrameLayout>

<FrameLayout
Expand Down

0 comments on commit a4f2444

Please sign in to comment.