mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Show number of messages selected
This commit is contained in:
@@ -76,6 +76,7 @@ import android.widget.CheckBox;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.SeekBar;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -2612,6 +2613,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
selectionTracker.clearSelection();
|
||||
for (long id : ids)
|
||||
selectionTracker.select(id);
|
||||
|
||||
ToastEx.makeText(getContext(),
|
||||
getContext().getResources().getQuantityString(
|
||||
R.plurals.title_selected_messages, ids.size(), ids.size()),
|
||||
Toast.LENGTH_LONG).show();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user