Skip to content

Commit

Permalink
freeDictionaryApp MVP v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yamin8000 committed Sep 10, 2023
1 parent 974c470 commit 9912091
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ android {
applicationId "io.github.yamin8000.owl"
minSdk 21
targetSdk 34
versionCode 19
versionName "1.3.6"
versionCode 20
versionName "1.4.0"
vectorDrawables {
useSupportLibrary true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fun HomeContent(
}
LaunchedEffect(state.isOnline.value) {
if (state.isFirstTimeOpening)
state.searchText = "Owl"
state.searchText = "free"
if (state.searchText.isNotBlank())
state.searchForDefinition()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,22 @@ internal fun MeaningCard(
onDoubleClick = onWordChipClick
)
}
definition.antonyms.forEach { antonym ->
SpeakableRippleTextWithIcon(
text = antonym,
title = stringResource(R.string.antonym),
imageVector = Icons.TwoTone.TextSnippet,
localeTag = localeTag
)
}
definition.synonyms.forEach { synonym ->
SpeakableRippleTextWithIcon(
text = synonym,
title = stringResource(R.string.synonym),
imageVector = Icons.TwoTone.TextSnippet,
localeTag = localeTag
)
}
}
}
)
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@
<string name="already_added_to_favourites">این واژه پیش از این به برگزیده‌ها اضافه شده است.</string>
<string name="delete">پاک کردن</string>
<string name="increase_volume_notice">صدای بلندگو را زیاد کنید.</string>
<string name="antonym">متضاد</string>
<string name="synonym">مترادف</string>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@
<string name="already_added_to_favourites">Ez a szó már a kedvencek között van.</string>
<string name="delete">Törlés</string>
<string name="increase_volume_notice">Növeld meg a hangerődet</string>
<string name="antonym">Antonym</string>
<string name="synonym">Synonym</string>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@
<string name="already_added_to_favourites">This word is already added to the favorites.</string>
<string name="delete">Delete</string>
<string name="increase_volume_notice">Increase your volume</string>
<string name="antonym">Antonym</string>
<string name="synonym">Synonym</string>
</resources>

0 comments on commit 9912091

Please sign in to comment.