akshay2000 / XBMCRemoteRT

XBMC Remote for Windows and Windows Phone
24 stars 18 forks source link

New connection doesn't show up immediately #64

Open hansgoed opened 7 years ago

hansgoed commented 7 years ago

I Just freshly installed the app and tried to create a new connection. When I clicked save I got directed to the connections overview which was empty. I restarted the app twice and then it appeared.

akshay2000 commented 7 years ago

This is a known issue and has to do with the fact that file needs time to write. While this can be solved with bit of a rework, I don't have the setup ready. So it's up to you (or someone else) to fix it.

hansgoed commented 7 years ago

A quick fix would be waiting for the data to be saved before redirecting the user and showing a spinner. Would that be good enough? I haven't looked at the code yet, but if that's enough I could look into it tonight

akshay2000 commented 7 years ago

It should be that way. But I'm not sure if I maintained a single place where the loading happens. So, take a look.

hansgoed commented 7 years ago

No need for a spinner

https://github.com/akshay2000/XBMCRemoteRT/pull/65/commits/e08b1d9cdc9554b06751d7634b4d8edbda966b83

hansgoed commented 7 years ago

@https://github.com/akshay2000/XBMCRemoteRT/pull/65