Skip to content

Commit

Permalink
Wrap the error view in a normal SwipeRefreshLayout so an error view c…
Browse files Browse the repository at this point in the history
…an be scrolled up if necessary
  • Loading branch information
jayohms committed Feb 24, 2024
1 parent d1b75ab commit 12fa5ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbo/src/main/res/layout/turbo_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
android:visibility="gone"
tools:ignore="ContentDescription" />

<dev.hotwire.turbo.views.TurboSwipeRefreshLayout
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/turbo_error_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand All @@ -56,6 +56,6 @@

</ScrollView>

</dev.hotwire.turbo.views.TurboSwipeRefreshLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

</dev.hotwire.turbo.views.TurboView>

0 comments on commit 12fa5ff

Please sign in to comment.