Skip to content

Commit

Permalink
Removing old Preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahkeen committed Jul 17, 2024
1 parent af56c3f commit 42e3a0d
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import com.google.accompanist.web.WebView
import com.google.accompanist.web.rememberWebViewState
import com.emergetools.hackernews.ui.theme.HackerNewsTheme

@Composable
fun StoryScreen(url: String) {
Expand All @@ -29,12 +27,4 @@ fun StoryScreen(url: String) {
state = webViewState
)
}
}

@Preview
@Composable
private fun StoryScreenPreview() {
HackerNewsTheme {
StoryScreen("www.google.com")
}
}

0 comments on commit 42e3a0d

Please sign in to comment.