Skip to content

Commit acba353

Browse files
committed
update contributors
1 parent 1055deb commit acba353

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

core/src/main/res/values/contributors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<item>\@preethamrn</item>
1313
<item>\@Poussinou</item>
1414
<item>\@IlyaBizyaev Ilya Bizyaev</item>
15+
<item>\@Chris-Peralta Chris Peralta</item>
1516
</string-array>
1617

1718
</resources>

features/feature_notification/src/main/java/com/example/util/simpletimetracker/feature_notification/external/ExternalBroadcastInteractor.kt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,10 @@ class ExternalBroadcastInteractor @Inject constructor(
208208
) {
209209
if (name == null) return
210210

211-
val tagExists = recordTagInteractor.get(name).isEmpty().not()
211+
val tagExists = recordTagInteractor.get(name).isNotEmpty()
212212

213213
if (tagExists) return
214214

215-
val icons = iconImageMapper
216-
.getAvailableImages(loadSearchHints = false).values
217-
.flatten().associateBy { it.iconName }.mapValues { it.value.iconName }
218-
219-
val iconId = icons.filterValues { it == icon }.keys.firstOrNull()
220-
221215
RecordTag(
222216
name = name,
223217
icon = icon.orEmpty(),
@@ -227,7 +221,7 @@ class ExternalBroadcastInteractor @Inject constructor(
227221
valueType = RecordTagValueType.NONE,
228222
valueSuffix = "",
229223
).let {
230-
val tagId = recordTagInteractor.add(it)
224+
recordTagInteractor.add(it)
231225
}
232226
}
233227

0 commit comments

Comments
 (0)