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), Home(HomeScreenDestination, R.string.screen_home, Icons.Filled.Home, Icons.Outlined.Home),
Manage(ManageScreenDestination, R.string.screen_manage, Icons.Filled.Dashboard, Icons.Outlined.Dashboard), Manage(ManageScreenDestination, R.string.screen_manage, Icons.Filled.Dashboard, Icons.Outlined.Dashboard),
Repo(RepoScreenDestination, R.string.screen_repo, Icons.Filled.GetApp, Icons.Outlined.GetApp), 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); 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 com.ramcosta.composedestinations.annotation.Destination
import org.lsposed.npatch.ui.component.CenterTopBar import org.lsposed.npatch.ui.component.CenterTopBar
@OptIn(ExperimentalMaterial3Api::class) // @OptIn(ExperimentalMaterial3Api::class)
@Destination // @Destination
@Composable // @Composable
fun LogsScreen() { // fun LogsScreen() {
Scaffold( // Scaffold(
topBar = { CenterTopBar(stringResource(BottomBarDestination.Logs.label)) } // topBar = { CenterTopBar(stringResource(BottomBarDestination.Logs.label)) }
) { innerPadding -> // ) { innerPadding ->
Text( // Text(
modifier = Modifier // modifier = Modifier
.padding(innerPadding) // .padding(innerPadding)
.fillMaxSize(), // .fillMaxSize(),
text = "This page is not yet implemented", // text = "This page is not yet implemented",
textAlign = TextAlign.Center // textAlign = TextAlign.Center
) // )
} // }
} // }