Skip to content

Commit 3d1abf8

Browse files
author
sds100
committed
#37 fix: add padding to the map show the compass isn't shown behind the status bar
Signed-off-by: sds100 <developer.sds100@gmail.com>
1 parent ff65770 commit 3d1abf8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/com/mapcode/map/MapScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,8 @@ fun Map(
434434
ANIMATE_CAMERA_UPDATE_DURATION_MS
435435
)
436436
}
437-
}
437+
},
438+
contentPadding = WindowInsets.statusBars.asPaddingValues()
438439
)
439440
}
440441

0 commit comments

Comments
 (0)