diff --git a/vector/src/main/java/im/vector/app/features/widgets/WidgetActivity.kt b/vector/src/main/java/im/vector/app/features/widgets/WidgetActivity.kt index a31edfcb02..f8d817acd5 100644 --- a/vector/src/main/java/im/vector/app/features/widgets/WidgetActivity.kt +++ b/vector/src/main/java/im/vector/app/features/widgets/WidgetActivity.kt @@ -40,7 +40,6 @@ class WidgetActivity : VectorBaseActivity(), ToolbarConfigurable { companion object { - private const val WIDGET_FRAGMENT_TAG = "WIDGET_FRAGMENT_TAG" private const val WIDGET_PERMISSION_FRAGMENT_TAG = "WIDGET_PERMISSION_FRAGMENT_TAG" private const val EXTRA_RESULT = "EXTRA_RESULT" @@ -56,7 +55,7 @@ class WidgetActivity : VectorBaseActivity(), return intent.extras?.getSerializable(EXTRA_RESULT) as? Content } - fun createResultIntent(content: Content): Intent { + private fun createResultIntent(content: Content): Intent { return Intent().apply { putExtra(EXTRA_RESULT, content as Serializable) }