From 9781656c1dcf838f4a91f511961472d529b20bb2 Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Wed, 27 Jul 2022 17:25:51 +0200 Subject: [PATCH] Fixing leak on bottomSheetController callback --- .../location/live/map/LiveLocationBottomSheetController.kt | 1 - .../features/location/live/map/LiveLocationMapViewFragment.kt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationBottomSheetController.kt b/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationBottomSheetController.kt index e8a6b22b7e..55ddd3aae0 100644 --- a/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationBottomSheetController.kt +++ b/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationBottomSheetController.kt @@ -33,7 +33,6 @@ class LiveLocationBottomSheetController @Inject constructor( private val vectorDateFormatter: VectorDateFormatter, private val stringProvider: StringProvider, private val clock: Clock, - private val context: Context, ) : EpoxyController() { interface Callback { diff --git a/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationMapViewFragment.kt b/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationMapViewFragment.kt index d89977d7af..31d15750a7 100644 --- a/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationMapViewFragment.kt +++ b/vector/src/main/java/im/vector/app/features/location/live/map/LiveLocationMapViewFragment.kt @@ -112,6 +112,7 @@ class LiveLocationMapViewFragment @Inject constructor() : VectorBaseFragment