mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
ktlint
This commit is contained in:
parent
d881012e8e
commit
c026039ed3
@ -6,7 +6,6 @@ import android.util.Log
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.Button
|
||||
import android.widget.ImageView
|
||||
import android.widget.TextView
|
||||
import android.widget.Toast
|
||||
@ -59,7 +58,7 @@ class Library : Fragment() {
|
||||
fetchPlaylists(view)
|
||||
}
|
||||
view.findViewById<com.google.android.material.floatingactionbutton
|
||||
.FloatingActionButton>(R.id.create_playlist).setOnClickListener {
|
||||
.FloatingActionButton>(R.id.create_playlist).setOnClickListener {
|
||||
val newFragment = CreatePlaylistDialog()
|
||||
newFragment.show(childFragmentManager, "Create Playlist")
|
||||
}
|
||||
@ -69,7 +68,7 @@ class Library : Fragment() {
|
||||
} else {
|
||||
refreshLayout.isEnabled = false
|
||||
view.findViewById<com.google.android.material.floatingactionbutton
|
||||
.FloatingActionButton>(R.id.create_playlist).visibility = View.GONE
|
||||
.FloatingActionButton>(R.id.create_playlist).visibility = View.GONE
|
||||
with(view.findViewById<ImageView>(R.id.boogh2)) {
|
||||
visibility = View.VISIBLE
|
||||
setImageResource(R.drawable.ic_login)
|
||||
|
Loading…
Reference in New Issue
Block a user