Fix reply issue for news #241

This commit is contained in:
tom79 2019-07-18 18:13:37 +02:00
parent f6225e5d33
commit 1bfb6820b7
1 changed files with 2 additions and 2 deletions

View File

@ -561,7 +561,7 @@ public class CrossActions {
public static void doCrossReply(final Context context, final Status status, final RetrieveFeedsAsyncTask.Type type, boolean limitedToOwner){
List<Account> accounts = connectedAccounts(context, status, limitedToOwner);
if( accounts.size() == 1 && type != RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE) {
if( accounts.size() == 1 && type != RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE && type != RetrieveFeedsAsyncTask.Type.NEWS) {
Intent intent = new Intent(context, TootActivity.class);
Bundle b = new Bundle();
if( status != null && status.getReblog() != null )
@ -578,7 +578,7 @@ public class CrossActions {
}
}else {
if( type != RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE){
if( type != RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE && type != RetrieveFeedsAsyncTask.Type.NEWS){
AlertDialog.Builder builderSingle = new AlertDialog.Builder(context, style);
builderSingle.setTitle(context.getString(R.string.choose_accounts));
final AccountsSearchAdapter accountsSearchAdapter = new AccountsSearchAdapter(context, accounts, true);