Skip to content

Commit

Permalink
v1.17 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
aj3423 committed Jul 10, 2024
1 parent 48feeed commit a4a3bdb
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 18 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ android {
applicationId = "spam.blocker"
minSdk = 29
targetSdk = 34
versionCode = 116
versionName = "1.16"
versionCode = 117
versionName = "1.17"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/spam/blocker/ui/main/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ class MainActivity : AppCompatActivity() {
(showPassed && it.isNotBlocked()) || (showBlocked && it.isBlocked())
})

// go to last tab
// go to tab
when (startFromNotification) {
"call" -> navView.selectedItemId = R.id.navigation_call
"sms" -> navView.selectedItemId = R.id.navigation_sms
else -> {
// if not launched by clicking notification, restore the last active page
// if not launched by clicking notification, restore the last active tab
when (spf.getActiveTab()) {
"call" -> navView.selectedItemId = R.id.navigation_call
"sms" -> navView.selectedItemId = R.id.navigation_sms
Expand Down
7 changes: 0 additions & 7 deletions app/src/main/java/spam/blocker/ui/setting/SettingFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,6 @@ class SettingFragment : Fragment() {
R.string.help_quick_copy
)

// show "read instructions" on first launch
doOnce(ctx, "prompt_once_read_balloon_tips") {
delay(100) { // no delay no popup, no idea
val balloon = UI.createBalloon(ctx, viewLifecycleOwner, R.string.read_balloon)
balloon.showAlignBottom(root.findViewById(R.id.setting_help_globally_enabled))
}
}
return root
}

Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-de/strings_6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,5 @@
<string name="warning_running_in_work_profile">
Diese App funktioniert möglicherweise nicht ordnungsgemäß im Arbeitsprofil. Installieren Sie sie stattdessen im Hauptprofil.
</string>
<string name="read_balloon">Bitte lesen Sie die Sprechblasen-Tooltips für Anweisungen zu jeder Funktion.</string>

</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values-es/strings_6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,5 @@
<string name="warning_running_in_work_profile">
Esta aplicación podría no funcionar bien dentro del perfil de trabajo. En su lugar, instálala en el perfil principal.
</string>
<string name="read_balloon">Revisa los globos de ayuda para las instrucciones de cada función.</string>

</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values-fr/strings_6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,5 @@
<string name="warning_running_in_work_profile">
Cette appli pourrait ne pas fonctionner correctement dans un profil professionnel. Veuillez l\'installer dans le profil principal.
</string>
<string name="read_balloon">Veuillez lire les bulles d\'aide pour obtenir des instructions sur chaque fonctionnalité.</string>

</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values-ru/strings_6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,5 @@
<string name="warning_running_in_work_profile">
Это приложение может работать некорректно в рабочем профиле. Установите его в основном профиле.
</string>
<string name="read_balloon">Пожалуйста, читайте всплывающие подсказки, чтобы узнать инструкции по использованию каждой функции.</string>

</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values-uk/strings_6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,5 @@
<string name="warning_running_in_work_profile">
Ця програма може працювати некоректно в робочому профілі; натомість установіть її в основному профілі.
</string>
<string name="read_balloon">Перевірте підказки у спливаючому вікні для інструкцій щодо кожної функції.</string>

</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values-zh/strings_6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,5 @@
<string name="warning_running_in_work_profile">
此应用在工作资料中可能无法正常工作,请改为将其安装在主资料中。
</string>
<string name="read_balloon">请查看气球工具提示以了解每个功能的说明。</string>

</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values/strings_6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,5 @@
<string name="warning_running_in_work_profile">
This app may not work correctly within work profile, please install it in main profile instead.
</string>
<string name="read_balloon">Please check the balloon tooltips for instructions of each feature.</string>

</resources>
9 changes: 9 additions & 0 deletions metadata/en-US/changelogs/117.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Improvement:
- "Backup & Restore" is now based on file. (using scoped storage, no permission required)
- Improve performance for long rule

New:
- Import blacklist numbers from file by long pressing the "Add" button, it supports any files that have numbers in the first column.

Fix:
- Crash caused by unknown number

0 comments on commit a4a3bdb

Please sign in to comment.