Skip to content

Commit

Permalink
Made some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aritra-tech committed Mar 16, 2024
1 parent 0fb9b10 commit e69c75c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.navigation.NavHostController
Expand Down Expand Up @@ -110,7 +111,7 @@ fun HomeScreen(
horizontalArrangement = Arrangement.SpaceBetween
) {
Text(
text = "Manager Passwords",
text = stringResource(R.string.manager_passwords),
style = bold20.copy(Color.Black)
)

Expand All @@ -132,23 +133,23 @@ fun HomeScreen(
) {
CategoryCard(
icon = R.drawable.category_social,
text = "Social",
text = stringResource(id = R.string.social),
onClick = {

}
)

CategoryCard(
icon = R.drawable.category_brower,
text = "Browser",
text = stringResource(R.string.browser),
onClick = {

}
)

CategoryCard(
icon = R.drawable.category_card,
text = "Card",
text = stringResource(R.string.card),
onClick = {

}
Expand All @@ -158,11 +159,11 @@ fun HomeScreen(
Spacer(modifier = Modifier.height(30.dp))

Text(
text = "Favourites",
text = stringResource(R.string.favourites),
style = bold20.copy(Color.Black)
)


// TODO: FAV list
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@
<string name="old_master_key">Old Master Key</string>
<string name="new_master_key">New Master Key</string>
<string name="password_generated_length">Password Length %1$s</string>
<string name="manager_passwords">Manager Passwords</string>
<string name="browser">Browser</string>
<string name="card">Card</string>
<string name="favourites">Favourites</string>
<string-array name="accounts">
<item>Others</item>
<item>PayPal</item>
Expand Down

0 comments on commit e69c75c

Please sign in to comment.