rename shadowed variables
This commit is contained in:
parent
5c674ab6b8
commit
71fe78aa88
|
@ -219,8 +219,8 @@ class StatusListActivity : BottomSheetActivity(), HasAndroidInjector {
|
|||
}
|
||||
updateTagMuteState(mutedFilterV1 != null)
|
||||
},
|
||||
{ throwable ->
|
||||
Log.e(TAG, "Error getting filters: $throwable")
|
||||
{ throwable2 ->
|
||||
Log.e(TAG, "Error getting filters: $throwable2")
|
||||
}
|
||||
)
|
||||
} else {
|
||||
|
@ -292,13 +292,13 @@ class StatusListActivity : BottomSheetActivity(), HasAndroidInjector {
|
|||
eventHub.dispatch(PreferenceChangedEvent(filter.context[0]))
|
||||
filterCreateSuccess = true
|
||||
},
|
||||
{ throwable ->
|
||||
{ throwable2 ->
|
||||
Snackbar.make(
|
||||
binding.root,
|
||||
getString(R.string.error_muting_hashtag_format, tag),
|
||||
Snackbar.LENGTH_SHORT
|
||||
).show()
|
||||
Log.e(TAG, "Failed to mute #$tag", throwable)
|
||||
Log.e(TAG, "Failed to mute #$tag", throwable2)
|
||||
}
|
||||
)
|
||||
} else {
|
||||
|
|
|
@ -49,11 +49,11 @@ class LoginWebViewViewModel @Inject constructor(
|
|||
{ instance ->
|
||||
_instanceRules.value = instance.rules.map { rule -> rule.text }
|
||||
},
|
||||
{ throwable ->
|
||||
{ throwable2 ->
|
||||
Log.w(
|
||||
"LoginWebViewViewModel",
|
||||
"failed to load instance info",
|
||||
throwable
|
||||
throwable2
|
||||
)
|
||||
}
|
||||
)
|
||||
|
|
|
@ -246,11 +246,11 @@ class SendStatusService : Service(), Injectable {
|
|||
scheduledAt = statusToSend.scheduledAt,
|
||||
poll = statusToSend.poll,
|
||||
language = statusToSend.language,
|
||||
mediaAttributes = media.map { media ->
|
||||
mediaAttributes = media.map { mediaItem ->
|
||||
MediaAttribute(
|
||||
id = media.id!!,
|
||||
description = media.description,
|
||||
focus = media.focus?.toMastodonApiString(),
|
||||
id = mediaItem.id!!,
|
||||
description = mediaItem.description,
|
||||
focus = mediaItem.focus?.toMastodonApiString(),
|
||||
thumbnail = null
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue