Replace load/decode/index around our own number with helpers
This commit is contained in:
parent
3759fe46e9
commit
454b4726bd
12 changed files with 120 additions and 41 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue