mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
removing swear words
This commit is contained in:
parent
31d7461bd4
commit
bbf361332b
@ -178,7 +178,7 @@ class PlayerFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
//FullScreen button trigger
|
//FullScreen button trigger
|
||||||
view.findViewById<ImageButton>(R.id.fullscreen).setOnClickListener{
|
view.findViewById<ImageButton>(R.id.fullscreen).setOnClickListener{
|
||||||
//remember to hide everything when new shit added
|
//remember to hide everything when new thing added
|
||||||
if (!isFullScreen){
|
if (!isFullScreen){
|
||||||
with(motionLayout) {
|
with(motionLayout) {
|
||||||
getConstraintSet(R.id.start).constrainHeight(R.id.player, -1)
|
getConstraintSet(R.id.start).constrainHeight(R.id.player, -1)
|
||||||
|
@ -41,7 +41,7 @@ class Settings : PreferenceFragmentCompat() {
|
|||||||
val login = findPreference<Preference>("login_register")
|
val login = findPreference<Preference>("login_register")
|
||||||
login?.setOnPreferenceClickListener {
|
login?.setOnPreferenceClickListener {
|
||||||
val newFragment = LoginDialog()
|
val newFragment = LoginDialog()
|
||||||
newFragment.show(childFragmentManager, "fuck")
|
newFragment.show(childFragmentManager, "Login")
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ class ChannelAdapter(private val videoFeed: MutableList<StreamItem>): RecyclerVi
|
|||||||
}
|
}
|
||||||
fun updateItems(newItems: List<StreamItem>){
|
fun updateItems(newItems: List<StreamItem>){
|
||||||
videoFeed.addAll(newItems)
|
videoFeed.addAll(newItems)
|
||||||
//println("suck another dick: "+newItems[0].title)
|
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ class PlaylistAdapter(private val videoFeed: MutableList<StreamItem>): RecyclerV
|
|||||||
}
|
}
|
||||||
fun updateItems(newItems: List<StreamItem>){
|
fun updateItems(newItems: List<StreamItem>){
|
||||||
videoFeed.addAll(newItems)
|
videoFeed.addAll(newItems)
|
||||||
//println("suck another dick: "+newItems[0].title)
|
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ class SubscriptionAdapter(private val videoFeed: List<StreamItem>): RecyclerView
|
|||||||
i += 10
|
i += 10
|
||||||
if(i>videoFeed.size)
|
if(i>videoFeed.size)
|
||||||
i=videoFeed.size
|
i=videoFeed.size
|
||||||
//println("suck another dick: "+newItems[0].title)
|
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user