Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
457ecc6d
Commit
457ecc6d
authored
Sep 22, 2023
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
conversation: open file on click
Change-Id: I1d95e4bd0f13cdd77a3cef7b53b03a22c34cef0c
parent
17f58987
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
jami-android/app/src/main/java/cx/ring/adapters/ConversationAdapter.kt
+2
-0
2 additions, 0 deletions
...app/src/main/java/cx/ring/adapters/ConversationAdapter.kt
with
2 additions
and
0 deletions
jami-android/app/src/main/java/cx/ring/adapters/ConversationAdapter.kt
+
2
−
0
View file @
457ecc6d
...
...
@@ -1009,6 +1009,7 @@ class ConversationAdapter(
val
status
=
file
.
status
viewHolder
.
mIcon
?.
setImageResource
(
if
(
status
.
isError
)
R
.
drawable
.
baseline_warning_24
else
R
.
drawable
.
baseline_attach_file_24
)
viewHolder
.
mMsgTxt
?.
text
=
file
.
displayName
viewHolder
.
mFileInfoLayout
?.
setOnClickListener
(
null
)
if
(
status
==
InteractionStatus
.
TRANSFER_AWAITING_HOST
)
{
viewHolder
.
btnRefuse
?.
visibility
=
View
.
VISIBLE
viewHolder
.
mAnswerLayout
?.
visibility
=
View
.
VISIBLE
...
...
@@ -1027,6 +1028,7 @@ class ConversationAdapter(
}
else
{
viewHolder
.
progress
?.
hide
()
}
viewHolder
.
mFileInfoLayout
?.
setOnClickListener
{
presenter
.
openFile
(
file
)
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment