Merge pull request #642 from rmullin7286/master
Made ThreadActivity launch in singleTop mode and added onNewIntent.
This commit is contained in:
commit
abedc2a18a
2 changed files with 8 additions and 1 deletions
|
|
@ -108,6 +108,12 @@ class ThreadActivity : SimpleActivity() {
|
|||
|
||||
private var isAttachmentPickerVisible = false
|
||||
|
||||
override fun onNewIntent(intent: Intent?) {
|
||||
super.onNewIntent(intent)
|
||||
finish()
|
||||
startActivity(intent)
|
||||
}
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
isMaterialActivity = true
|
||||
super.onCreate(savedInstanceState)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue