chore: Rename project from "Revolt" to "PepChat" and update related files
This commit updates the project name across various files to reflect the new branding. - Changed the root project name in `settings.gradle.kts` from "Revolt" to "PepChat". - Updated the project name in the `.idea/.name` file to "PepChat". - Modified `ChatRouterScreen` to use a `Box` layout instead of `Column` for better UI structure. - Adjusted the `SettingsScreen` to utilize `LargeTopAppBar` for improved design consistency. - Removed unnecessary size specification in `ChannelScreen` for better visual clarity.
This commit is contained in:
parent
e121fc5774
commit
50e836b974
|
|
@ -1 +1 @@
|
|||
Revolt
|
||||
PepChat
|
||||
|
|
@ -10,6 +10,7 @@ import android.view.inputmethod.InputMethodManager
|
|||
import androidx.activity.compose.rememberLauncherForActivityResult
|
||||
import androidx.activity.result.contract.ActivityResultContracts
|
||||
import androidx.compose.animation.AnimatedVisibility
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.WindowInsets
|
||||
import androidx.compose.foundation.layout.WindowInsetsSides
|
||||
|
|
@ -985,7 +986,7 @@ fun ChannelNavigator(
|
|||
}
|
||||
}
|
||||
) { innerPadding ->
|
||||
Column(modifier = Modifier.padding(innerPadding)) {
|
||||
Box(modifier = Modifier.padding(innerPadding)) {
|
||||
when (dest) {
|
||||
is ChatRouterDestination.Settings -> {
|
||||
SettingsScreen(
|
||||
|
|
|
|||
|
|
@ -661,7 +661,7 @@ fun ChannelScreen(
|
|||
ChannelIcon(
|
||||
channelType = it.channelType ?: ChannelType.TextChannel,
|
||||
modifier = Modifier
|
||||
.size(24.dp)
|
||||
|
||||
.alpha(0.8f)
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,9 +10,12 @@ import androidx.compose.foundation.rememberScrollState
|
|||
import androidx.compose.foundation.verticalScroll
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.Icon
|
||||
import androidx.compose.material3.IconButton
|
||||
import androidx.compose.material3.LargeTopAppBar
|
||||
import androidx.compose.material3.ListItem
|
||||
import androidx.compose.material3.LocalContentColor
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.material3.Scaffold
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.TopAppBar
|
||||
import androidx.compose.material3.TopAppBarDefaults
|
||||
|
|
@ -67,7 +70,7 @@ fun SettingsScreen(
|
|||
Column(
|
||||
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
) {
|
||||
TopAppBar(
|
||||
LargeTopAppBar(
|
||||
scrollBehavior = scrollBehavior,
|
||||
title = {
|
||||
Text(
|
||||
|
|
|
|||
|
|
@ -27,5 +27,5 @@ dependencyResolutionManagement {
|
|||
}
|
||||
}
|
||||
}
|
||||
rootProject.name = "Revolt"
|
||||
rootProject.name = "PepChat"
|
||||
include(":app")
|
||||
|
|
|
|||
Loading…
Reference in New Issue