mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
Fix shadow behind the Expand Info icon (#5804)
This commit is contained in:
parent
38df44ef4b
commit
d25707554e
@ -167,7 +167,7 @@ class DownloadService : Service() {
|
||||
|
||||
private fun NetworkCapabilities.connectedToInternet(): Boolean {
|
||||
return this.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) &&
|
||||
this.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)
|
||||
this.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)
|
||||
}
|
||||
|
||||
private fun NetworkCapabilities.connectedToWifi(): Boolean {
|
||||
|
@ -12,6 +12,14 @@
|
||||
</Transition>
|
||||
|
||||
<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
|
||||
android:id="@+id/manga_info_toggle_more"
|
||||
android:layout_width="wrap_content"
|
||||
@ -79,6 +87,14 @@
|
||||
motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text"
|
||||
motion:layout_constraintStart_toStartOf="@+id/manga_summary_text"
|
||||
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
|
||||
android:id="@+id/manga_info_toggle_more"
|
||||
android:layout_width="wrap_content"
|
||||
|
Loading…
Reference in New Issue
Block a user