mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
bump
This commit is contained in:
parent
4a193d5d27
commit
c09b6881e5
3 changed files with 17 additions and 5 deletions
|
@ -47,8 +47,8 @@ android {
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 30
|
targetSdk = 30
|
||||||
|
|
||||||
versionCode = 52
|
versionCode = 53
|
||||||
versionName = "3.1.6"
|
versionName = "3.2.0"
|
||||||
|
|
||||||
resValue("string", "app_version", "${defaultConfig.versionName}${versionNameSuffix ?: ""}")
|
resValue("string", "app_version", "${defaultConfig.versionName}${versionNameSuffix ?: ""}")
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,10 @@ import com.lagradost.cloudstream3.utils.SingleSelectionHelper.showOptionSelectSt
|
||||||
import com.lagradost.cloudstream3.utils.SubtitleHelper.getFlagFromIso
|
import com.lagradost.cloudstream3.utils.SubtitleHelper.getFlagFromIso
|
||||||
import com.lagradost.cloudstream3.utils.UIHelper.dismissSafe
|
import com.lagradost.cloudstream3.utils.UIHelper.dismissSafe
|
||||||
import com.lagradost.cloudstream3.utils.UIHelper.fixPaddingStatusbar
|
import com.lagradost.cloudstream3.utils.UIHelper.fixPaddingStatusbar
|
||||||
|
import com.lagradost.cloudstream3.utils.UIHelper.fixPaddingStatusbarView
|
||||||
import com.lagradost.cloudstream3.utils.UIHelper.getResourceColor
|
import com.lagradost.cloudstream3.utils.UIHelper.getResourceColor
|
||||||
import com.lagradost.cloudstream3.utils.UIHelper.getSpanCount
|
import com.lagradost.cloudstream3.utils.UIHelper.getSpanCount
|
||||||
|
import com.lagradost.cloudstream3.utils.UIHelper.getStatusBarHeight
|
||||||
import com.lagradost.cloudstream3.utils.UIHelper.popupMenuNoIconsAndNoStringRes
|
import com.lagradost.cloudstream3.utils.UIHelper.popupMenuNoIconsAndNoStringRes
|
||||||
import com.lagradost.cloudstream3.utils.UIHelper.setImage
|
import com.lagradost.cloudstream3.utils.UIHelper.setImage
|
||||||
import com.lagradost.cloudstream3.utils.UIHelper.setImageBlur
|
import com.lagradost.cloudstream3.utils.UIHelper.setImageBlur
|
||||||
|
@ -548,7 +550,13 @@ class HomeFragment : Fragment() {
|
||||||
|
|
||||||
observe(homeViewModel.preview) { preview ->
|
observe(homeViewModel.preview) { preview ->
|
||||||
// Always reset the padding, otherwise the will move lower and lower
|
// Always reset the padding, otherwise the will move lower and lower
|
||||||
home_watch_holder?.setPadding(0, 0, 0, 0)
|
// home_fix_padding?.setPadding(0, 0, 0, 0)
|
||||||
|
home_fix_padding?.let { v ->
|
||||||
|
val params = v.layoutParams
|
||||||
|
params.height = 0
|
||||||
|
v.layoutParams = params
|
||||||
|
}
|
||||||
|
|
||||||
when (preview) {
|
when (preview) {
|
||||||
is Resource.Success -> {
|
is Resource.Success -> {
|
||||||
home_preview?.isVisible = true
|
home_preview?.isVisible = true
|
||||||
|
@ -569,7 +577,7 @@ class HomeFragment : Fragment() {
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
home_preview?.isVisible = false
|
home_preview?.isVisible = false
|
||||||
context?.fixPaddingStatusbar(home_watch_holder)
|
context?.fixPaddingStatusbarView(home_fix_padding)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -405,7 +405,11 @@
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
<View
|
||||||
|
android:id="@+id/home_fix_padding"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="0dp">
|
||||||
|
</View>
|
||||||
<!--
|
<!--
|
||||||
All padding in home_watch_holder is determined in runtime
|
All padding in home_watch_holder is determined in runtime
|
||||||
This is because the home poster can be invisible which forces
|
This is because the home poster can be invisible which forces
|
||||||
|
|
Loading…
Reference in a new issue