From 29279f02623c416430afd08748d665dc60f6e61f Mon Sep 17 00:00:00 2001 From: ganfra Date: Mon, 16 Aug 2021 18:27:01 +0200 Subject: [PATCH] Fix Dial pad lost entry when config changes #3845 --- changelog.d/3845.bugfix | 1 + .../main/java/im/vector/app/features/home/HomeDetailFragment.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/3845.bugfix diff --git a/changelog.d/3845.bugfix b/changelog.d/3845.bugfix new file mode 100644 index 0000000000..ce820738fe --- /dev/null +++ b/changelog.d/3845.bugfix @@ -0,0 +1 @@ +Home: Dial pad lost entry when config changes \ No newline at end of file diff --git a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt index 13809bcef3..683ee40508 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt @@ -373,7 +373,7 @@ class HomeDetailFragment @Inject constructor( add(R.id.roomListContainer, RoomListFragment::class.java, params.toMvRxBundle(), fragmentTag) } is HomeTab.DialPad -> { - add(R.id.roomListContainer, createDialPadFragment()) + add(R.id.roomListContainer, createDialPadFragment(), fragmentTag) } } } else {