Skip to content

Commit

Permalink
Merge pull request JioTV-Go#9 from itsyourap/develop
Browse files Browse the repository at this point in the history
Check server run status on MainActivity resume
  • Loading branch information
itsyourap authored Nov 19, 2024
2 parents 0f8ca2d + 6e74d23 commit dcb2f6f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ class MainActivity : ComponentActivity() {
}
}

override fun onResume() {
super.onResume()

if (isServerRunning)
onJTVServerRun()
}

@SuppressLint("UnspecifiedRegisterReceiverFlag")
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Expand Down

0 comments on commit dcb2f6f

Please sign in to comment.