Skip to content

Commit

Permalink
Fixed an issue where the date would sometimes appear in Expanded Smar…
Browse files Browse the repository at this point in the history
…tspace when it had not been added (#244)
  • Loading branch information
KieronQuinn authored Aug 29, 2024
1 parent 37119a5 commit 7576d60
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@ -13,8 +13,8 @@ plugins {

apply plugin: 'com.google.android.gms.oss-licenses-plugin'

def tagName = '1.8'
def tagCode = 180
def tagName = '1.8.1'
def tagCode = 181

android {
compileSdk 34
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ class ExpandedSmartspacerSession(
}
val base = target.templateData?.subtitleSupplementalItem?.let {
Complication.SubItemInfo(target, it)
} ?: target.baseAction?.let {
} ?: target.baseAction?.takeUnless {
target.smartspaceTargetId.startsWith(BLANK_TARGET_PREFIX)
}?.let {
Complication.Action(target, it)
}
listOfNotNull(header, base)
Expand Down

0 comments on commit 7576d60

Please sign in to comment.