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:
AbronStudio 2025-08-12 11:30:13 +03:30
parent e121fc5774
commit 50e836b974
5 changed files with 9 additions and 5 deletions

View File

@ -1 +1 @@
Revolt
PepChat

View File

@ -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(

View File

@ -661,7 +661,7 @@ fun ChannelScreen(
ChannelIcon(
channelType = it.channelType ?: ChannelType.TextChannel,
modifier = Modifier
.size(24.dp)
.alpha(0.8f)
)
}

View File

@ -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(

View File

@ -27,5 +27,5 @@ dependencyResolutionManagement {
}
}
}
rootProject.name = "Revolt"
rootProject.name = "PepChat"
include(":app")