Replace load/decode/index around our own number with helpers

This commit is contained in:
Matt Corallo 2015-03-24 15:48:59 -07:00 committed by lilia
parent 3759fe46e9
commit 454b4726bd
12 changed files with 120 additions and 41 deletions

View file

@ -37,11 +37,7 @@
$(function() {
if (textsecure.registration.isDone()) {
$('#complete-number').text(
textsecure.utils.unencodeNumber(
textsecure.storage.getUnencrypted("number_id")
)[0]
);//TODO: no
$('#complete-number').text(textsecure.storage.user.getNumber());
$('#setup-complete').show().addClass('in');
initOptions();
} else {