Skip to content

Commit

Permalink
teams: smoother voices toasts (fixes #5168) (#5178)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
pavi38 and dogi authored Jan 31, 2025
1 parent aeab732 commit ca8e41d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 26
targetSdkVersion 34
versionCode 2261
versionName "0.22.61"
versionCode 2262
versionName "0.22.62"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class AdapterNews(var context: Context, private val list: MutableList<RealmNews?
mRealm.beginTransaction()
}
news?.addLabel(Constants.LABELS["${menuItem.title}"])
Utilities.toast(context, R.string.label_added.toString())
Utilities.toast(context, context.getString(R.string.label_added))
mRealm.commitTransaction()
news?.let { it1 -> showChips(holder, it1) }
false
Expand Down Expand Up @@ -397,7 +397,7 @@ class AdapterNews(var context: Context, private val list: MutableList<RealmNews?

private fun editPost(s: String, news: RealmNews?) {
if (s.isEmpty()) {
Utilities.toast(context, R.string.please_enter_message.toString())
Utilities.toast(context, context.getString(R.string.please_enter_message))
return
}
if (!mRealm.isInTransaction) mRealm.beginTransaction()
Expand Down

0 comments on commit ca8e41d

Please sign in to comment.