mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
fix channel tabs
This commit is contained in:
parent
1d1f2d7797
commit
588f99edba
72
app/release/output-metadata.json
Normal file
72
app/release/output-metadata.json
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"artifactType": {
|
||||||
|
"type": "APK",
|
||||||
|
"kind": "Directory"
|
||||||
|
},
|
||||||
|
"applicationId": "com.github.libretube",
|
||||||
|
"variantName": "release",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"type": "UNIVERSAL",
|
||||||
|
"filters": [],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 22,
|
||||||
|
"versionName": "0.7.1",
|
||||||
|
"outputFile": "app-universal-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "x86_64"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 22,
|
||||||
|
"versionName": "0.7.1",
|
||||||
|
"outputFile": "app-x86_64-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "x86"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 22,
|
||||||
|
"versionName": "0.7.1",
|
||||||
|
"outputFile": "app-x86-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "arm64-v8a"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 22,
|
||||||
|
"versionName": "0.7.1",
|
||||||
|
"outputFile": "app-arm64-v8a-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "armeabi-v7a"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 22,
|
||||||
|
"versionName": "0.7.1",
|
||||||
|
"outputFile": "app-armeabi-v7a-release.apk"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"elementType": "File"
|
||||||
|
}
|
@ -190,15 +190,15 @@ class ChannelFragment : BaseFragment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tabs?.firstOrNull { it.name == "Channels" }?.let {
|
tabs?.firstOrNull { it.name == "Channels" }?.let {
|
||||||
binding.playlists.visibility = View.VISIBLE
|
binding.channels.visibility = View.VISIBLE
|
||||||
}
|
}
|
||||||
|
|
||||||
tabs?.firstOrNull { it.name == "Livestreams" }?.let {
|
tabs?.firstOrNull { it.name == "Livestreams" }?.let {
|
||||||
binding.playlists.visibility = View.VISIBLE
|
binding.livestreams.visibility = View.VISIBLE
|
||||||
}
|
}
|
||||||
|
|
||||||
tabs?.firstOrNull { it.name == "Shorts" }?.let {
|
tabs?.firstOrNull { it.name == "Shorts" }?.let {
|
||||||
binding.playlists.visibility = View.VISIBLE
|
binding.shorts.visibility = View.VISIBLE
|
||||||
}
|
}
|
||||||
|
|
||||||
binding.tabChips.setOnCheckedStateChangeListener { _, _ ->
|
binding.tabChips.setOnCheckedStateChangeListener { _, _ ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user