Merge branch '13.6'

remove_adapters
Alex Baker 8 months ago
commit ef2dd8f202

@ -1,8 +1,9 @@
### 13.6 (2023-09-17) ### 13.6 (2023-10-07)
* Change priority with multi-select [#2257](https://github.com/tasks/tasks/pull/2452) - @vulewuxe86 * Change priority with multi-select [#2257](https://github.com/tasks/tasks/pull/2452) - @vulewuxe86
* Automatically select newly copied tasks [#2246](https://github.com/tasks/tasks/pull/2446) - @vulewuxe86 * Automatically select newly copied tasks [#2246](https://github.com/tasks/tasks/pull/2446) - @vulewuxe86
* Reduce minimum size for widgets [#2436](https://github.com/tasks/tasks/pull/2436) - @histefanhere * Reduce minimum size for widgets [#2436](https://github.com/tasks/tasks/pull/2436) - @histefanhere
* Replace deprecated method call [#2526](https://github.com/tasks/tasks/pull/2526) - @kmj-99
* Improve handling text shared to Tasks [#2485](https://github.com/tasks/tasks/issues/2485) * Improve handling text shared to Tasks [#2485](https://github.com/tasks/tasks/issues/2485)
* Use notification audio stream for completion sound * Use notification audio stream for completion sound
* Notification preference 'More settings' opens channel settings directly * Notification preference 'More settings' opens channel settings directly
@ -15,11 +16,16 @@
* Catalan - Joan Montané * Catalan - Joan Montané
* Chinese (Simplified) - Poesty Li * Chinese (Simplified) - Poesty Li
* Chinese (Traditional) - @abc0922001 * Chinese (Traditional) - @abc0922001
* German - @qwerty287, deep map * Dutch - @fvbommel
* French - @FlorianLeChat
* German - @qwerty287, deep map, @franconian
* Hungarian - Kaci
* Italian - @ppasserini * Italian - @ppasserini
* Japanese - Kazushi Hayama, Naga * Japanese - Kazushi Hayama, Naga
* Spanish - @FlorianLeChat
* Swedish - @Anaemix, @bittin * Swedish - @Anaemix, @bittin
* Turkish - @emintufan * Turkish - @emintufan, @oersen
* Ukrainian - @IhorHordiichuk
### 13.5.1 (2023-08-02) ### 13.5.1 (2023-08-02)

@ -55,7 +55,7 @@ android {
defaultConfig { defaultConfig {
testApplicationId = "org.tasks.test" testApplicationId = "org.tasks.test"
applicationId = "org.tasks" applicationId = "org.tasks"
versionCode = 130600 versionCode = 130601
versionName = "13.6" versionName = "13.6"
targetSdk = 33 targetSdk = 33
minSdk = 24 minSdk = 24

@ -1,15 +1,15 @@
package org.tasks.widget package org.tasks.widget
import android.app.Activity
import android.content.Intent
import android.content.Intent.ShortcutIconResource
import android.os.Bundle import android.os.Bundle
import android.os.Parcelable
import android.view.View import android.view.View
import android.widget.TextView import android.widget.TextView
import androidx.appcompat.widget.Toolbar import androidx.appcompat.widget.Toolbar
import androidx.core.content.pm.ShortcutInfoCompat
import androidx.core.content.pm.ShortcutManagerCompat
import androidx.core.graphics.drawable.IconCompat
import com.google.android.material.textfield.TextInputEditText import com.google.android.material.textfield.TextInputEditText
import com.todoroo.astrid.api.Filter import com.todoroo.astrid.api.Filter
import com.todoroo.astrid.helper.UUIDHelper
import dagger.hilt.android.AndroidEntryPoint import dagger.hilt.android.AndroidEntryPoint
import org.tasks.R import org.tasks.R
import org.tasks.Strings.isNullOrEmpty import org.tasks.Strings.isNullOrEmpty
@ -124,13 +124,15 @@ class ShortcutConfigActivity : ThemedInjectingAppCompatActivity(), ColorPaletteP
private fun save() { private fun save() {
val filterId = defaultFilterProvider.getFilterPreferenceValue(selectedFilter!!) val filterId = defaultFilterProvider.getFilterPreferenceValue(selectedFilter!!)
val shortcutIntent = TaskIntents.getTaskListByIdIntent(this, filterId) ShortcutManagerCompat.requestPinShortcut(
val icon: Parcelable = ShortcutIconResource.fromContext(this, ThemeColor.ICONS[themeIndex]) this,
val intent = Intent("com.android.launcher.action.INSTALL_SHORTCUT") ShortcutInfoCompat.Builder(this, UUIDHelper.newUUID())
intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent) .setShortLabel(getShortcutName())
intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getShortcutName()) .setIntent(TaskIntents.getTaskListByIdIntent(this, filterId))
intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, icon) .setIcon(IconCompat.createWithResource(this, ThemeColor.ICONS[themeIndex]))
setResult(Activity.RESULT_OK, intent) .build(),
null,
)
finish() finish()
} }

@ -1,9 +1,11 @@
* Change priority with multi-select - @vulewuxe86 * Change priority with multi-select - @vulewuxe86
* Automatically select newly copied tasks - @vulewuxe86 * Automatically select newly copied tasks - @vulewuxe86
* Reduce minimum size for widgets - @histefanhere * Reduce minimum size for widgets - @histefanhere
* Replace deprecated method call - @kmj-99
* Improve handling text shared to Tasks * Improve handling text shared to Tasks
* Use notification audio stream for completion sound * Use notification audio stream for completion sound
* Notification preference 'More settings' opens channel settings directly * Notification preference 'More settings' opens channel settings directly
* Respect 'New tasks on top' preference when creating subtasks * Respect 'New tasks on top' preference when creating subtasks
* Automatically add due dates for recurring tasks * Automatically add due dates for recurring tasks
* Fix crash on startup
* Update translations * Update translations
Loading…
Cancel
Save