Support for iOS theme

This commit is contained in:
Scott Nonnenberg 2018-04-12 12:21:37 -07:00
parent 644bc9e6fb
commit 087dd0f758
No known key found for this signature in database
GPG key ID: 5F82280C35134661
7 changed files with 226 additions and 19 deletions

View file

@ -141,9 +141,17 @@ const CONTACTS = COLORS.map((color, index) => {
return parent.ConversationController.dangerouslyCreateAndAdd(contact);
});
const me = parent.ConversationController.dangerouslyCreateAndAdd({
id: ourNumber,
name: 'Me!',
type: 'private',
color: 'light_blue',
});
export {
COLORS,
CONTACTS,
me,
};
parent.textsecure.storage.user.getNumber = () => ourNumber;