diff --git a/V2rayNG/app/src/main/java/com/v2ray/ang/ui/logcat/LogcatActivity.kt b/V2rayNG/app/src/main/java/com/v2ray/ang/ui/logcat/LogcatActivity.kt index 865af642..ce4f9c7b 100644 --- a/V2rayNG/app/src/main/java/com/v2ray/ang/ui/logcat/LogcatActivity.kt +++ b/V2rayNG/app/src/main/java/com/v2ray/ang/ui/logcat/LogcatActivity.kt @@ -12,6 +12,7 @@ import androidx.compose.foundation.layout.WindowInsets import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.navigationBarsPadding import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items @@ -191,9 +192,10 @@ fun LogcatScreen( ) }, floatingActionButton = { - FloatingActionButton(onClick = { - viewModel.loadLogcat() - }) { + FloatingActionButton( + onClick = { viewModel.loadLogcat() }, + modifier = Modifier.navigationBarsPadding() + ) { Icon( painterResource(R.drawable.ic_restore_24dp), contentDescription = stringResource(R.string.acc_refresh)