Skip to content

Commit

Permalink
Removed glance preview as it is still not available on the latest sta…
Browse files Browse the repository at this point in the history
…ble android studio
  • Loading branch information
HeyPouya committed Jul 28, 2024
1 parent 9336806 commit 8d92243
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import androidx.glance.layout.Alignment
import androidx.glance.layout.Column
import androidx.glance.layout.fillMaxSize
import androidx.glance.layout.padding
import androidx.glance.preview.ExperimentalGlancePreviewApi
import androidx.glance.preview.Preview
import androidx.glance.text.Text
import androidx.glance.text.TextAlign
import androidx.glance.text.TextStyle
Expand Down Expand Up @@ -57,10 +55,3 @@ internal fun CalendarWidgetComponent(
)
}
}

@OptIn(ExperimentalGlancePreviewApi::class)
@Preview(widthDp = 200, heightDp = 200)
@Composable
private fun Preview() {
CalendarWidgetComponent(persianDate = "یکشنبه ۷ مرداد ۱۴۰۳", gregorianDate = "۲۸ ژوییه ۲۰۲۴")
}

0 comments on commit 8d92243

Please sign in to comment.