Skip to content

Commit bb54296

Browse files
committed
Update indent
1 parent caf076c commit bb54296

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ If you want to check for the library's presence on the native side to bypass cer
132132
object EdgeToEdge {
133133
// we cannot detect edge-to-edge, but we can detect react-native-edge-to-edge install
134134
val ENABLED: Boolean = try {
135-
Class.forName("com.zoontek.rnedgetoedge.EdgeToEdgePackage")
136-
true
137-
} catch (exception: ClassNotFoundException) {
138-
false
139-
}
135+
Class.forName("com.zoontek.rnedgetoedge.EdgeToEdgePackage")
136+
true
137+
} catch (exception: ClassNotFoundException) {
138+
false
139+
}
140140
}
141141
```
142142

react-native-is-edge-to-edge/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@ function MyAwesomeLibraryComponent({
3737
If you want to check for the library's presence on the native side to bypass certain parts of your code, consider using this small utility:
3838

3939
```kotlin
40-
object EdgeToEdgeUtil {
41-
val ENABLED: Boolean
42-
get() = try {
43-
// we cannot detect edge-to-edge, but we can detect react-native-edge-to-edge install
40+
object EdgeToEdge {
41+
// we cannot detect edge-to-edge, but we can detect react-native-edge-to-edge install
42+
val ENABLED: Boolean = try {
4443
Class.forName("com.zoontek.rnedgetoedge.EdgeToEdgePackage")
4544
true
4645
} catch (exception: ClassNotFoundException) {

0 commit comments

Comments
 (0)