File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
app/src/main/java/co/adityarajput/notifilter/views Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ import androidx.glance.appwidget.lazy.LazyColumn
1313import androidx.glance.appwidget.lazy.items
1414import androidx.glance.appwidget.provideContent
1515import androidx.glance.layout.*
16- import androidx.glance.preview.ExperimentalGlancePreviewApi
17- import androidx.glance.preview.Preview
1816import androidx.glance.text.Text
1917import androidx.glance.text.TextStyle
2018import co.adityarajput.notifilter.R
@@ -132,16 +130,6 @@ private fun Content(notifications: List<Notification>, allPackages: List<App> =
132130 }
133131}
134132
135- @OptIn(ExperimentalGlancePreviewApi ::class )
136- @Preview
137- @Composable
138- private fun WidgetPreview () = Content (sampleNotifications)
139-
140- @OptIn(ExperimentalGlancePreviewApi ::class )
141- @Preview
142- @Composable
143- private fun WidgetEmptyPreview () = Content (emptyList())
144-
145133private val sampleNotifications = listOf (
146134 Notification (
147135 " Book Club" ,
You can’t perform that action at this time.
0 commit comments