Commit 41576dbb authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Missing startActivity

parent 014faba9
......@@ -28,9 +28,11 @@ import com.frostnerd.smokescreen.getPreferences
class SettingsActivity : BaseActivity() {
companion object {
fun showCategory(context: Context, category:Category) {
fun showCategory(context: Context, category: Category) {
Intent(context, SettingsActivity::class.java).apply {
putExtra("category", category)
}.also {
context.startActivity(it)
}
}
}
......
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