From 099d0ca564b5e2eeb83a7d12e257938bc9f005d0 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 6 Dec 2021 21:50:33 +0100 Subject: [PATCH] private --- .../main/java/im/vector/app/features/widgets/WidgetActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) }