mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Update MainActivity.kt
This commit is contained in:
parent
130d24f605
commit
107ee36f4a
@ -32,7 +32,6 @@ import com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
import com.google.android.material.color.DynamicColors
|
||||
import java.util.*
|
||||
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
val TAG = "MainActivity"
|
||||
lateinit var bottomNavigationView: BottomNavigationView
|
||||
@ -348,4 +347,4 @@ fun Activity.hideKeyboard() {
|
||||
fun Context.hideKeyboard(view: View) {
|
||||
val inputMethodManager = getSystemService(Activity.INPUT_METHOD_SERVICE) as InputMethodManager
|
||||
inputMethodManager.hideSoftInputFromWindow(view.windowToken, 0)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user