mirror of
https://codeberg.org/Schoumi/PeerTubeLive.git
synced 2025-01-03 06:20:29 +01:00
Fix error when pressed back during live creation window that display the end of the stream that never exist
This commit is contained in:
parent
c3ad46de59
commit
c5f5007945
@ -364,10 +364,10 @@ class CreateLiveActivity : AppCompatActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
|
||||
super.onActivityResult(requestCode, resultCode, data)
|
||||
setResult(resultCode)
|
||||
override fun onBackPressed() {
|
||||
setResult(-1)
|
||||
finish()
|
||||
super.onBackPressed()
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user