mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Remove unnecessary code now that minSdk is 21.
This commit is contained in:
committed by
Cody Henthorne
parent
8cfd02aff2
commit
3e7dc79fe8
@@ -1,6 +1,5 @@
|
||||
package org.thoughtcrime.securesms.keyboard
|
||||
|
||||
import android.os.Build
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
@@ -57,10 +56,6 @@ class KeyboardPagerFragment : Fragment() {
|
||||
}
|
||||
|
||||
override fun onHiddenChanged(hidden: Boolean) {
|
||||
if (Build.VERSION.SDK_INT < 21) {
|
||||
return
|
||||
}
|
||||
|
||||
if (hidden) {
|
||||
WindowUtil.setNavigationBarColor(requireActivity(), ThemeUtil.getThemedColor(requireContext(), android.R.attr.navigationBarColor))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user