private
This commit is contained in:
parent
f1d8b9e974
commit
099d0ca564
|
@ -40,7 +40,6 @@ class WidgetActivity : VectorBaseActivity<ActivityWidgetBinding>(),
|
||||||
ToolbarConfigurable {
|
ToolbarConfigurable {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
||||||
private const val WIDGET_FRAGMENT_TAG = "WIDGET_FRAGMENT_TAG"
|
private const val WIDGET_FRAGMENT_TAG = "WIDGET_FRAGMENT_TAG"
|
||||||
private const val WIDGET_PERMISSION_FRAGMENT_TAG = "WIDGET_PERMISSION_FRAGMENT_TAG"
|
private const val WIDGET_PERMISSION_FRAGMENT_TAG = "WIDGET_PERMISSION_FRAGMENT_TAG"
|
||||||
private const val EXTRA_RESULT = "EXTRA_RESULT"
|
private const val EXTRA_RESULT = "EXTRA_RESULT"
|
||||||
|
@ -56,7 +55,7 @@ class WidgetActivity : VectorBaseActivity<ActivityWidgetBinding>(),
|
||||||
return intent.extras?.getSerializable(EXTRA_RESULT) as? Content
|
return intent.extras?.getSerializable(EXTRA_RESULT) as? Content
|
||||||
}
|
}
|
||||||
|
|
||||||
fun createResultIntent(content: Content): Intent {
|
private fun createResultIntent(content: Content): Intent {
|
||||||
return Intent().apply {
|
return Intent().apply {
|
||||||
putExtra(EXTRA_RESULT, content as Serializable)
|
putExtra(EXTRA_RESULT, content as Serializable)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue