mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Added force send
This commit is contained in:
parent
efe20d64f3
commit
b933ed6f67
3 changed files with 11 additions and 0 deletions
|
@ -3486,6 +3486,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
menu.findItem(R.id.menu_select_found).setVisible(viewType == AdapterMessage.ViewType.SEARCH);
|
||||
|
||||
menu.findItem(R.id.menu_force_sync).setVisible(viewType == AdapterMessage.ViewType.UNIFIED);
|
||||
menu.findItem(R.id.menu_force_send).setVisible(outbox);
|
||||
|
||||
ibSeen.setImageResource(filter_seen ? R.drawable.baseline_drafts_24 : R.drawable.baseline_mail_24);
|
||||
ibUnflagged.setImageResource(filter_unflagged ? R.drawable.baseline_star_border_24 : R.drawable.baseline_star_24);
|
||||
|
@ -3608,6 +3609,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
onMenuForceSync();
|
||||
return true;
|
||||
|
||||
case R.id.menu_force_send:
|
||||
onSwipeRefresh();
|
||||
return true;
|
||||
|
||||
default:
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
|
|
@ -132,4 +132,9 @@
|
|||
android:id="@+id/menu_force_sync"
|
||||
android:title="@string/title_force_sync"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_force_send"
|
||||
android:title="@string/title_force_send"
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
@ -972,6 +972,7 @@
|
|||
<string name="title_select_all">Select all</string>
|
||||
<string name="title_select_found">Select found</string>
|
||||
<string name="title_force_sync">Force sync</string>
|
||||
<string name="title_force_send">Force send</string>
|
||||
|
||||
<string name="title_language_all">All</string>
|
||||
|
||||
|
|
Loading…
Reference in a new issue