Compare commits

...

3 commits

Author SHA1 Message Date
561ee93875 Merge pull request 'Fixed lock warning on NONE and RANDOM popup effects' (#2) from work into main
Reviewed-on: #2
2025-05-28 14:17:42 +00:00
partisan
4c9b0a1b22 Fixed lock warning on NONE and RANDOM popup effects 2025-05-28 16:14:42 +02:00
partisan
3fa2bc38ab Typos 2025-05-27 19:07:25 +02:00
5 changed files with 13 additions and 7 deletions

View file

@ -11,8 +11,8 @@ android {
applicationId = "partisan.weforge.xyz.pulse" applicationId = "partisan.weforge.xyz.pulse"
minSdk = 29 minSdk = 29
targetSdk = 34 targetSdk = 34
versionCode = 14 versionCode = 15
versionName = "2.0.0" versionName = "2.0.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
} }

View file

@ -133,7 +133,11 @@ class PopupSettingsFragment : Fragment() {
binding.popupEffectSpinner.onItemSelectedListener = object : AdapterView.OnItemSelectedListener { binding.popupEffectSpinner.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
override fun onItemSelected(parent: AdapterView<*>, view: View?, position: Int, id: Long) { override fun onItemSelected(parent: AdapterView<*>, view: View?, position: Int, id: Long) {
val selectedEffect = allEffects[position] val selectedEffect = allEffects[position]
if (!prefs.isDonationActivated && selectedEffect !in prefs.getAvailablePopupEffects()) { if (!prefs.isDonationActivated &&
selectedEffect !in prefs.getAvailablePopupEffects() &&
selectedEffect != Preferences.PopupEffect.NONE &&
selectedEffect != Preferences.PopupEffect.RANDOM
) {
Toast.makeText(requireContext(), getString(R.string.donate_lock), Toast.LENGTH_SHORT).show() Toast.makeText(requireContext(), getString(R.string.donate_lock), Toast.LENGTH_SHORT).show()
binding.popupEffectSpinner.setSelection(prefs.popupEffect.ordinal) binding.popupEffectSpinner.setSelection(prefs.popupEffect.ordinal)
} else { } else {

View file

@ -17,6 +17,6 @@ Fixes:
Misc: Misc:
- Updated Gradle to v8.14.1 - Updated Gradle to v8.14.1
- Updated screenshots to include new looks of the app. - Updated screenshots to reflect the new look of the app
- Updated description. - Updated description
- Added temporary "v2.0" to store icon to indicate new version. - Temporarily added "v2.0" to the store icon to indicate the new version

View file

@ -0,0 +1,2 @@
v2.0.1
- Fixed lock warning on NONE and RANDOM popup effects

View file

@ -1 +1 @@
Redirecting outgoing calls to E2EE apps. Redirecting outgoing calls to E2EE apps