mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-26 01:09:13 -05:00
reverse order in contact chooser
This commit is contained in:
parent
7223b5b274
commit
2a4db01709
@ -52,7 +52,7 @@ public class ContactChooserTargetService extends ChooserTargetService implements
|
||||
final Conversation conversation = conversations.get(i);
|
||||
final String name = conversation.getName();
|
||||
final Icon icon = Icon.createWithBitmap(mXmppConnectionService.getAvatarService().get(conversation, pixel));
|
||||
final float score = (1.0f / MAX_TARGETS) * i;
|
||||
final float score = 1 - (1.0f / MAX_TARGETS) * i;
|
||||
final Bundle extras = new Bundle();
|
||||
extras.putString("uuid", conversation.getUuid());
|
||||
chooserTargets.add(new ChooserTarget(name, icon, score, componentName, extras));
|
||||
|
Loading…
Reference in New Issue
Block a user