Skip to content

Commit

Permalink
Do not request orientation in StoriesActivity (#3286)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSikora authored Nov 26, 2024
1 parent be46dbc commit 84d1861
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package au.com.shiftyjelly.pocketcasts.endofyear

import android.annotation.SuppressLint
import android.app.Activity
import android.content.Intent
import android.content.pm.ActivityInfo
import android.graphics.Color
import android.os.Bundle
import android.view.WindowManager
Expand Down Expand Up @@ -108,8 +106,6 @@ class StoriesActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!isTablet) {
@SuppressLint("SourceLockedOrientationActivity")
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
enableEdgeToEdge(SystemBarStyle.light(Color.TRANSPARENT, Color.TRANSPARENT))
hideSystemBars()
}
Expand Down

0 comments on commit 84d1861

Please sign in to comment.