Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Remove unneeded call

Cette révision appartient à :
len 2016-09-29 21:46:11 +02:00
Parent 11ac4df5d7
révision 09a8a494a0

Voir le fichier

@ -260,12 +260,9 @@ class MangaInfoFragment : BaseRxFragment<MangaInfoPresenter>() {
context.sendBroadcast(addIntent) context.sendBroadcast(addIntent)
//Go to launcher to show this shiny new shortcut! //Go to launcher to show this shiny new shortcut!
val startMain = Intent(Intent.ACTION_MAIN) val startMain = Intent(Intent.ACTION_MAIN)
startMain.addCategory(Intent.CATEGORY_HOME) startMain.addCategory(Intent.CATEGORY_HOME).flags = Intent.FLAG_ACTIVITY_NEW_TASK
.flags = Intent.FLAG_ACTIVITY_NEW_TASK
activity.runOnUiThread {
startActivity(startMain) startActivity(startMain)
} }
}
/** /**
* Update FAB with correct drawable. * Update FAB with correct drawable.