mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-13 09:17:49 +01:00
Simplify layout and do not display until data is loaded to prevent flashing.
This commit is contained in:
committed by
Greyson Parrelli
parent
31e4db2186
commit
33b88796e8
@@ -120,6 +120,7 @@ class StoryTextPostView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
fun bindFromStoryTextPost(storyTextPost: StoryTextPost) {
|
||||
visible = true
|
||||
linkPreviewView.visible = false
|
||||
|
||||
textAlignment = TextAlignment.CENTER
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<org.thoughtcrime.securesms.stories.StoryTextPostView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/story_text_post"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<org.thoughtcrime.securesms.stories.StoryTextPostView
|
||||
android:id="@+id/story_text_post"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</FrameLayout>
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone" />
|
||||
|
||||
Reference in New Issue
Block a user