Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/feature_pull_to_refresh_gallery_…
Browse files Browse the repository at this point in the history
…screen_issue_866' into feature_pull_to_refresh_gallery_screen_issue_866

# Conflicts:
#	app/src/main/java/com/google/samples/apps/sunflower/compose/home/HomeScreen.kt
  • Loading branch information
sahilsk3333 committed Dec 27, 2023
2 parents 4fa74d3 + a0dde22 commit e915abc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ private fun GalleryScreen(

val pullToRefreshState = rememberPullToRefreshState()

if (pullToRefreshState.isRefreshing){
onPullToRefresh()
if (pullToRefreshState.isRefreshing) {
onPullToRefresh()
}

val pagingItems: LazyPagingItems<UnsplashPhoto> =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.samples.apps.sunflower.compose.home

import android.util.Log
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.foundation.ExperimentalFoundationApi
Expand Down Expand Up @@ -103,6 +102,7 @@ fun HomePagerScreen(
pagerState: PagerState,
pages: Array<SunflowerPage>,
modifier: Modifier = Modifier,
pages: Array<SunflowerPage>
) {
Column(modifier) {
val coroutineScope = rememberCoroutineScope()
Expand Down

0 comments on commit e915abc

Please sign in to comment.