mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
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() {
|
fun RageshakePreferencesPreview() {
|
||||||
RageshakePreferencesView(RageshakePreferencesState(isEnabled = true, isSupported = true, sensitivity = 0.5f))
|
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