mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Added extra reorder accounts button
This commit is contained in:
@@ -120,6 +120,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
private CardView cardExtra;
|
||||
private TextView tvExtra;
|
||||
private Button btnNotification;
|
||||
private Button btnReorder;
|
||||
private Button btnDelete;
|
||||
private Button btnApp;
|
||||
private Button btnMore;
|
||||
@@ -198,6 +199,7 @@ public class FragmentSetup extends FragmentBase {
|
||||
cardExtra = view.findViewById(R.id.cardExtra);
|
||||
tvExtra = view.findViewById(R.id.tvExtra);
|
||||
btnNotification = view.findViewById(R.id.btnNotification);
|
||||
btnReorder = view.findViewById(R.id.btnReorder);
|
||||
btnDelete = view.findViewById(R.id.btnDelete);
|
||||
btnApp = view.findViewById(R.id.btnApp);
|
||||
btnMore = view.findViewById(R.id.btnMore);
|
||||
@@ -626,6 +628,14 @@ public class FragmentSetup extends FragmentBase {
|
||||
}
|
||||
});
|
||||
|
||||
btnReorder.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
|
||||
lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_SETUP_REORDER));
|
||||
}
|
||||
});
|
||||
|
||||
btnDelete.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
||||
Reference in New Issue
Block a user