Skip to content

Commit

Permalink
Fix file manager edit file screen padding (#849)
Browse files Browse the repository at this point in the history
**Background**

Edit File screen in FileManager currently doesn't have paddings for
systembar

**Changes**

- Added system bar padding for Edit File screen on FileManager

**Test plan**

- Open  File manager
- Open some file to edit
- See TopBar now doesn't collapse inside systembar
  • Loading branch information
makeevrserg authored May 13, 2024
1 parent 1fc0d5a commit 5db6491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- [FIX] Wrong error display on categories screen when no internet connection
- [FIX] Using third-party Github Action Setup Android SDK for baseline profile generation
- [FIX] Manifest dev catalog flag on installed apps
- [FIX] Fix TopBar above system bar in file manager file edit screen
- [Feature] Add not connected, empty and syncing states to emulation button on key screen
- [Feature] Check app exist on apps catalog manifest loading
- [Feature] First version of device orchestrator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.flipperdevices.filemanager.impl.composable.bar

import androidx.compose.foundation.layout.statusBarsPadding
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.TopAppBar
Expand All @@ -16,7 +17,7 @@ fun ComposableEditorTopBar(
modifier: Modifier = Modifier
) {
TopAppBar(
modifier = modifier,
modifier = modifier.statusBarsPadding(),
title = {
ComposableEllipsizeStartText(
text = path
Expand Down

0 comments on commit 5db6491

Please sign in to comment.