All language subtitles for 2. Update profile fix

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

In the last lecture, we have started working on the reusable component in this sector will continue

without a profile model because we have a break, a couple of functionalities.

Let's fire than the first functionality we need to fix is update profilo because as you can see now,

we are not calling it at all.

Then you will search for that profile is not called here because before we had here a button on the

button to click and we have called the update profile.

But now we have this reusable model of wrapping around on a forum, and the model itself is responsible

for handling that.

Click here to save changes, but you can see there is no function to update the R form.

OK, let's fix it.

And how can we approach this issue?

What we could to do is simply pass the function, support function or our update profile into the exchange

model as a prop.

They can do that.

They can simply pass functions through that to the props.

So in our model of the View reusable model view, let's go to Europe Explorer default and let's define

here props now here.

Props Elizabeth.

If I hear this Typekit function, OK, we'll call it on model, submit all model, submit like this,

and we'll specify here couple information such as these.

These will be type of the function.

We'll be passing the function and required in this case.

Do we want to make the right call?

Maybe they donate.

Need can be changed later, everybody said.

But for now, it will be false.

And now in our Malala, do you still hear our real creative methods, methods like this and we'll call

these methods submit model so that your Subin model submit a model.

And here we'll be calling our method bracing for the prop on model, submit a standard model and hear

on model submit.

Of course, I could pass it straight away in a sea of changes are all models submit, but I'm doing

it this way because they'll be doing have some improvements later, so you will see why it is important.

So here should be this on what I'll submit.

So let's buy this button here, and let's click click and it'll call here submenu mode.

All right, so submit mode also.

Actually, it's also one more thing, and I've already capitalized after that's got your profile model

and your exchange model now you want to pass this prop, right?

So we'll probably have just created so we have great prop on what they'll submit can see on without

somebody already have here and we can positive function it or update profile.

So call here.

Update profile or how they are calling it a public profile?

Yes.

So as you can see here, this function a big profile is enter functionality here.

Can see.

Is getting passed to the props as a model submit function.

OK, so this is getting past the model, so we can imagine there are profiles getting pass on model

submits on our own model, submit here is basically this function a public profile.

Update the profile.

All right, and we are calling it inside, so this we are calling inside of SUBIT model, then the Subin

model is executed and very specific model execute.

That's a bit model is executed when you are clicking the button up in your template.

So when you click a button here, you look like you look across this model or model submit, which is

Zero Flags would have passed through here.

It's Oblates profile, so you should be updating the profile successfully.

There's a feeling think, though, that a lot of talk about, let's take a look at things later, let's

save it and let's go back to browser 0.35 in the case and then able click on the update profile now.

OK.

Let's change your name.

It should be changing.

OK, so a change of name save changes.

A profile has been updated, you can see the not closing the model, that's the only thing we need to

still handle, but the profile has been updated and fresh and I should have these changes here so we

can see the changes that are here.

OK, so just the last thing we need to fix is the closing of models.

While we are not closing in model, you can see they are passing our function.

Our passing, our banks and other public profile and is function of this profile on success.

And this open will be set to the to the false.

But they're not controlling is open through our model right here.

Profile model Leslie responsible for closing and opening the models.

So this bill and there's a lot of bargaining along that also be the only data is open because everything

is controlled.

Model opening and closing is handled here.

So we need to do some improvements here and this provider will do guys in the next lecture.

So far, a profile update functionality works so we can continue and do this small change in the next

lecture.

See you.

See you there.

Yes.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.