Fix some Preview
This commit is contained in:
committed by
Benoit Marty
parent
948d4f64f7
commit
af7a47a3ce
+6
@@ -78,3 +78,9 @@ fun RageshakePreferencesView(
|
||||
fun RageshakePreferencesPreview() {
|
||||
RageshakePreferencesView(RageshakePreferencesState(isEnabled = true, isSupported = true, sensitivity = 0.5f))
|
||||
}
|
||||
|
||||
@Composable
|
||||
@Preview
|
||||
fun RageshakePreferencePreviewNotSupported() {
|
||||
RageshakePreferencesView(RageshakePreferencesState(isEnabled = true, isSupported = false, sensitivity = 0.5f))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user