mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Fix shadow behind the Expand Info icon (#5804)
This commit is contained in:
parent
38df44ef4b
commit
d25707554e
2 changed files with 17 additions and 1 deletions
|
@ -167,7 +167,7 @@ class DownloadService : Service() {
|
||||||
|
|
||||||
private fun NetworkCapabilities.connectedToInternet(): Boolean {
|
private fun NetworkCapabilities.connectedToInternet(): Boolean {
|
||||||
return this.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) &&
|
return this.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) &&
|
||||||
this.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)
|
this.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun NetworkCapabilities.connectedToWifi(): Boolean {
|
private fun NetworkCapabilities.connectedToWifi(): Boolean {
|
||||||
|
|
|
@ -12,6 +12,14 @@
|
||||||
</Transition>
|
</Transition>
|
||||||
|
|
||||||
<ConstraintSet android:id="@+id/start">
|
<ConstraintSet android:id="@+id/start">
|
||||||
|
<Constraint
|
||||||
|
android:id="@+id/manga_info_toggle_more_scrim"
|
||||||
|
android:layout_width="36sp"
|
||||||
|
android:layout_height="18sp"
|
||||||
|
motion:layout_constraintEnd_toEndOf="@+id/manga_summary_text"
|
||||||
|
motion:layout_constraintStart_toStartOf="@+id/manga_summary_text"
|
||||||
|
motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text"
|
||||||
|
android:visibility="visible" />
|
||||||
<Constraint
|
<Constraint
|
||||||
android:id="@+id/manga_info_toggle_more"
|
android:id="@+id/manga_info_toggle_more"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -79,6 +87,14 @@
|
||||||
motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text"
|
motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text"
|
||||||
motion:layout_constraintStart_toStartOf="@+id/manga_summary_text"
|
motion:layout_constraintStart_toStartOf="@+id/manga_summary_text"
|
||||||
android:visibility="invisible" />
|
android:visibility="invisible" />
|
||||||
|
<Constraint
|
||||||
|
android:id="@+id/manga_info_toggle_more_scrim"
|
||||||
|
android:layout_width="36sp"
|
||||||
|
android:layout_height="18sp"
|
||||||
|
motion:layout_constraintEnd_toEndOf="@+id/manga_summary_text"
|
||||||
|
motion:layout_constraintStart_toStartOf="@+id/manga_summary_text"
|
||||||
|
motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text"
|
||||||
|
android:visibility="gone" />
|
||||||
<Constraint
|
<Constraint
|
||||||
android:id="@+id/manga_info_toggle_more"
|
android:id="@+id/manga_info_toggle_more"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
Loading…
Reference in a new issue