mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Small improvement
This commit is contained in:
@@ -748,9 +748,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
int undo_timeout = prefs.getInt("undo_timeout", 5000);
|
||||
|
||||
if (undo_timeout == 0)
|
||||
move.execute(this, args, "undo:move");
|
||||
else
|
||||
if (undo_timeout == 0) {
|
||||
if (move != null)
|
||||
move.execute(this, args, "undo:move");
|
||||
} else
|
||||
undo(undo_timeout, title, args, move, show);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user