Remove: Uncomment LogsScreen

This commit is contained in:
NkBe 2025-12-11 23:07:05 +08:00
parent f14f65d078
commit 01071283c6
No known key found for this signature in database
GPG Key ID: 525137026FF031DF
2 changed files with 17 additions and 17 deletions

View File

@ -18,6 +18,6 @@ enum class BottomBarDestination(
Home(HomeScreenDestination, R.string.screen_home, Icons.Filled.Home, Icons.Outlined.Home),
Manage(ManageScreenDestination, R.string.screen_manage, Icons.Filled.Dashboard, Icons.Outlined.Dashboard),
Repo(RepoScreenDestination, R.string.screen_repo, Icons.Filled.GetApp, Icons.Outlined.GetApp),
Logs(LogsScreenDestination, R.string.screen_logs, Icons.Filled.Assignment, Icons.Outlined.Assignment),
// Logs(LogsScreenDestination, R.string.screen_logs, Icons.Filled.Assignment, Icons.Outlined.Assignment),
Settings(SettingsScreenDestination, R.string.screen_settings, Icons.Filled.Settings, Icons.Outlined.Settings);
}

View File

@ -12,19 +12,19 @@ import androidx.compose.ui.text.style.TextAlign
import com.ramcosta.composedestinations.annotation.Destination
import org.lsposed.npatch.ui.component.CenterTopBar
@OptIn(ExperimentalMaterial3Api::class)
@Destination
@Composable
fun LogsScreen() {
Scaffold(
topBar = { CenterTopBar(stringResource(BottomBarDestination.Logs.label)) }
) { innerPadding ->
Text(
modifier = Modifier
.padding(innerPadding)
.fillMaxSize(),
text = "This page is not yet implemented",
textAlign = TextAlign.Center
)
}
}
// @OptIn(ExperimentalMaterial3Api::class)
// @Destination
// @Composable
// fun LogsScreen() {
// Scaffold(
// topBar = { CenterTopBar(stringResource(BottomBarDestination.Logs.label)) }
// ) { innerPadding ->
// Text(
// modifier = Modifier
// .padding(innerPadding)
// .fillMaxSize(),
// text = "This page is not yet implemented",
// textAlign = TextAlign.Center
// )
// }
// }