Signed-off-by: nuclearfog <hatespirit666@gmail.com>
This commit is contained in:
nuclearfog 2021-10-10 20:51:11 +02:00
parent f23f6e3a1f
commit 0fd2a3100c
No known key found for this signature in database
GPG Key ID: AA0271FBE406DB98
3 changed files with 7 additions and 3 deletions

View File

@ -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" />

View File

@ -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

View File

@ -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"