Commit 867bab85 authored by topjohnwu's avatar topjohnwu

Restart activity with fresh intent

Fix #2706
parent b1e0c5ff
......@@ -85,7 +85,7 @@ abstract class BaseActivity : AppCompatActivity() {
}
override fun recreate() {
startActivity(intent)
startActivity(Intent().setComponent(intent.component))
finish()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment