Skip to content

Commit

Permalink
Merge pull request #37 from prasidhanchan/v1.x
Browse files Browse the repository at this point in the history
fix: minor ui enhancements
  • Loading branch information
prasidhanchan authored Oct 4, 2024
2 parents 13bb48a + 81d2333 commit ed72876
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 14 deletions.
4 changes: 3 additions & 1 deletion core/ui/src/main/java/com/mca/ui/component/SearchedTags.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import androidx.compose.runtime.remember
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.scale
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.TextStyle
Expand Down Expand Up @@ -112,7 +113,8 @@ private fun TagCard(
AsyncImage(
model = tag.profileImage,
contentDescription = tag.username,
modifier = Modifier.fillMaxSize()
modifier = Modifier.fillMaxSize(),
contentScale = ContentScale.Crop
)
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ internal fun ForgotPasswordScreen(
) {
Column(
modifier = Modifier
.padding(all = 20.dp)
.padding(all = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ internal fun LoginScreen(
) {
Column(
modifier = Modifier
.padding(all = 20.dp)
.padding(all = 15.dp)
.imePadding()
.fillMaxSize()
.verticalScroll(rememberScrollState()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ internal fun HomeScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ internal fun NotificationScreen(

LazyColumn(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ internal fun AnnouncementScreen(
Column(
modifier = Modifier
.imePadding()
.padding(all = 20.dp)
.padding(all = 15.dp)
.fillMaxSize()
.verticalScroll(rememberScrollState()),
verticalArrangement = Arrangement.Top,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ internal fun PostScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.imePadding()
.fillMaxSize()
.verticalScroll(state),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ internal fun AboutScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fun ChangePasswordScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal fun EditProfileScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.imePadding()
.fillMaxSize()
.verticalScroll(state),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ internal fun ProfileScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ internal fun ViewProfileScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ internal fun SearchScreen(
) {
Column(
modifier = Modifier
.padding(horizontal = 20.dp)
.padding(horizontal = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Top,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ internal fun SplashScreen(
) {
Column(
modifier = Modifier
.padding(all = 20.dp)
.padding(all = 15.dp)
.fillMaxSize(),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally
Expand Down

0 comments on commit ed72876

Please sign in to comment.