mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Use default folder color on move/ask
This commit is contained in:
parent
9b5b9f30f3
commit
5afbbaf1f6
1 changed files with 4 additions and 0 deletions
|
@ -7953,6 +7953,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
source = getResources().getDrawable(EntityFolder.getIcon(sources.get(0)), null);
|
||||
if (source != null)
|
||||
source.setBounds(0, 0, source.getIntrinsicWidth(), source.getIntrinsicHeight());
|
||||
if (sourceColor == null)
|
||||
sourceColor = EntityFolder.getDefaultColor(sources.get(0));
|
||||
} else
|
||||
sourceColor = null;
|
||||
|
||||
|
@ -7961,6 +7963,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
target = getResources().getDrawable(EntityFolder.getIcon(targets.get(0)), null);
|
||||
if (target != null)
|
||||
target.setBounds(0, 0, target.getIntrinsicWidth(), target.getIntrinsicHeight());
|
||||
if (targetColor == null)
|
||||
targetColor = EntityFolder.getDefaultColor(targets.get(0));
|
||||
} else
|
||||
targetColor = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue