Skip to content

Commit

Permalink
chore: remove logo and improve spacings
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal2376 committed Apr 1, 2024
1 parent 485881a commit d4e60a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.CalendarMonth
import androidx.compose.material.icons.filled.Menu
import androidx.compose.material.icons.filled.Sort
import androidx.compose.material.icons.filled.Today
import androidx.compose.material3.DrawerValue
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.FloatingActionButton
Expand Down Expand Up @@ -303,23 +302,12 @@ fun HomeScreen(
horizontalArrangement = Arrangement.SpaceBetween,
verticalAlignment = Alignment.CenterVertically
) {

Row(
modifier = Modifier.padding(8.dp),
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.spacedBy(8.dp)
) {
Icon(
imageVector = Icons.Default.Today,
contentDescription = null,
tint = MaterialTheme.colorScheme.onPrimary
)
Text(
text = stringResource(R.string.today_tasks),
style = h2TextStyle,
color = MaterialTheme.colorScheme.onPrimary,
)
}
Text(
modifier = Modifier.padding(16.dp),
text = stringResource(R.string.today_tasks),
style = h2TextStyle,
color = MaterialTheme.colorScheme.onPrimary,
)

IconButton(onClick = { showSortDialog = true }) {
Icon(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ fun InfoComponent(
Column(
modifier = Modifier
.fillMaxWidth()
.padding(
8.dp,
16.dp
),
.padding(8.dp, 16.dp),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.Center
) {
Expand Down

0 comments on commit d4e60a4

Please sign in to comment.