-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/fga/message bubbles #4937
Changes from 3 commits
9a5934d
e540b26
bde1df0
ad63d3d
f7c9b36
af542a8
f7df0b8
32e72f5
37af93f
b9cc795
baee076
5ac1552
d06df45
1108ef9
7ff8483
a9e7c45
5ee4984
ac0c262
2d9454c
8c4dff4
713f6f7
1580269
608d8a5
8f0e103
a9fe21e
4de421d
881b063
ed9adf8
c14eb05
b79a5fd
35674ad
c425701
fd99d6d
820bc64
38f1bbd
825c2ca
5081006
cfda76b
1bf2523
9e00867
2e2da16
0423431
02de636
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Support message bubbles in timeline. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,10 @@ | |
package im.vector.app.features.home.room.detail.timeline.style | ||
|
||
import android.content.res.Resources | ||
import android.text.TextUtils | ||
import android.view.View | ||
import im.vector.app.R | ||
import im.vector.app.core.extensions.localDateTime | ||
import im.vector.app.core.resources.LocaleProvider | ||
import im.vector.app.core.resources.isRTL | ||
import im.vector.app.features.home.room.detail.timeline.factory.TimelineItemFactoryParams | ||
import im.vector.app.features.settings.VectorPreferences | ||
import org.matrix.android.sdk.api.session.Session | ||
|
@@ -71,8 +70,7 @@ class TimelineMessageLayoutFactory @Inject constructor(private val session: Sess | |
} | ||
|
||
private val isRTL: Boolean by lazy { | ||
val currentLocale = localeProvider.current() | ||
TextUtils.getLayoutDirectionFromLocale(currentLocale) == View.LAYOUT_DIRECTION_RTL | ||
localeProvider.isRTL() | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can do this on develop now: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I'll close the related issue then. |
||
|
||
fun create(params: TimelineItemFactoryParams): TimelineMessageLayout { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CC @onurays