fix(scripts/client): Fix incorrect ready & config method

This commit is contained in:
Taso committed 2021-04-13 16:49:35 -04:00
1 parent 390319deda
commit fad2ff14fa
1 file changed
+2 -2
+2 -2
View File
@@ -25,8 +25,8 @@ function fetchOnInitialize() {
emitNet(ContactEvents.GET_CONTACTS);
emitNet(MessageEvents.FETCH_MESSAGE_GROUPS);
emitNet(TwitterEvents.GET_OR_CREATE_PROFILE);
sendMessage('PHONE', 'setPhoneReady', true);
sendMessage('PHONE', 'phoneConfig', config);
sendMessage('PHONE', PhoneEvents.SET_PHONE_READY, true);
sendMessage('PHONE', PhoneEvents.SET_CONFIG, config);
}
RegisterKeyMapping('phone', 'Open Phone', 'keyboard', 'f1');