mirror of
https://github.com/mihonapp/mihon.git
synced 2025-02-17 11:29:48 +03:00
Remove unneeded call
This commit is contained in:
parent
11ac4df5d7
commit
09a8a494a0
1 changed files with 2 additions and 5 deletions
|
@ -260,11 +260,8 @@ class MangaInfoFragment : BaseRxFragment<MangaInfoPresenter>() {
|
|||
context.sendBroadcast(addIntent)
|
||||
//Go to launcher to show this shiny new shortcut!
|
||||
val startMain = Intent(Intent.ACTION_MAIN)
|
||||
startMain.addCategory(Intent.CATEGORY_HOME)
|
||||
.flags = Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
activity.runOnUiThread {
|
||||
startActivity(startMain)
|
||||
}
|
||||
startMain.addCategory(Intent.CATEGORY_HOME).flags = Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
startActivity(startMain)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue