From a219fc3527e70e32c818fd19d66ad3df17ec1a56 Mon Sep 17 00:00:00 2001 From: darken Date: Sat, 27 Aug 2022 20:41:40 +0200 Subject: [PATCH] Fix build issues --- .../main/java/eu/darken/capod/reaction/popup/ui/PopUpWindow.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/darken/capod/reaction/popup/ui/PopUpWindow.kt b/app/src/main/java/eu/darken/capod/reaction/popup/ui/PopUpWindow.kt index fcc22bb0..eb85d6fb 100644 --- a/app/src/main/java/eu/darken/capod/reaction/popup/ui/PopUpWindow.kt +++ b/app/src/main/java/eu/darken/capod/reaction/popup/ui/PopUpWindow.kt @@ -27,7 +27,7 @@ class PopUpWindow @Inject constructor( private val context = ContextThemeWrapper(appContext, R.style.AppTheme) private val layoutInflater = context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater - private val windowManager: WindowManager = context.getSystemService(WINDOW_SERVICE) + private val windowManager = context.getSystemService(WINDOW_SERVICE) as WindowManager private val layoutParams = WindowManager.LayoutParams( WindowManager.LayoutParams.WRAP_CONTENT, WindowManager.LayoutParams.WRAP_CONTENT, // Display it on top of other application windows