From 117eaf324f2e55c07a59c6ebfb129c34d4ba2e98 Mon Sep 17 00:00:00 2001 From: Nitser Date: Mon, 16 Sep 2019 12:19:27 +0300 Subject: [PATCH] fix insets after unblock phone --- .../navigation/keyboard_resizeable/KeyboardBehaviorDetector.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/navigation/src/main/java/ru/touchin/roboswag/components/navigation/keyboard_resizeable/KeyboardBehaviorDetector.kt b/navigation/src/main/java/ru/touchin/roboswag/components/navigation/keyboard_resizeable/KeyboardBehaviorDetector.kt index 8628667..ab0aac9 100644 --- a/navigation/src/main/java/ru/touchin/roboswag/components/navigation/keyboard_resizeable/KeyboardBehaviorDetector.kt +++ b/navigation/src/main/java/ru/touchin/roboswag/components/navigation/keyboard_resizeable/KeyboardBehaviorDetector.kt @@ -42,6 +42,7 @@ class KeyboardBehaviorDetector( windowInsets } + ViewCompat.requestApplyInsets(view) } // Call this in "onPause()" of a fragment