mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-01 04:17:21 +01:00
bug fix
Signed-off-by: nuclearfog <hatespirit666@gmail.com>
This commit is contained in:
parent
f23f6e3a1f
commit
0fd2a3100c
@ -24,7 +24,8 @@
|
||||
<activity
|
||||
android:name=".activity.MainActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/AppTheme">
|
||||
android:theme="@style/AppTheme"
|
||||
android:exported="true">
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
@ -307,10 +307,11 @@ public class TweetActivity extends AppCompatActivity implements OnClickListener,
|
||||
clickedTweet = tweet.getEmbeddedTweet();
|
||||
// answer to the tweet
|
||||
if (v.getId() == R.id.tweet_answer) {
|
||||
String tweetPrefix = clickedTweet.getMentionedUsers() + " ";
|
||||
String tweetPrefix = clickedTweet.getMentionedUsers();
|
||||
Intent tweetPopup = new Intent(this, TweetEditor.class);
|
||||
tweetPopup.putExtra(KEY_TWEETPOPUP_REPLYID, clickedTweet.getId());
|
||||
tweetPopup.putExtra(KEY_TWEETPOPUP_TEXT, tweetPrefix);
|
||||
if (!tweetPrefix.isEmpty())
|
||||
tweetPopup.putExtra(KEY_TWEETPOPUP_TEXT, tweetPrefix + " ");
|
||||
startActivity(tweetPopup);
|
||||
}
|
||||
// show user retweeting this tweet
|
||||
|
@ -16,6 +16,7 @@
|
||||
android:layout_height="@dimen/login_image_size"
|
||||
android:layout_marginEnd="@dimen/login_layout_padding"
|
||||
android:layout_marginRight="@dimen/login_layout_padding"
|
||||
android:contentDescription="@string/profile_image"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@ -71,6 +72,7 @@
|
||||
android:layout_height="@dimen/login_cross_size"
|
||||
android:layout_marginStart="@dimen/login_layout_padding"
|
||||
android:layout_marginLeft="@dimen/login_layout_padding"
|
||||
android:contentDescription="@string/descr_remove_user"
|
||||
app:layout_constraintStart_toEndOf="@+id/item_login_button_barrier"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
Loading…
Reference in New Issue
Block a user