StoDevX / AAO-React-Native

The St. Olaf community, now in pocket size.
GNU Affero General Public License v3.0
42 stars 16 forks source link

fix saving of dev server settings address #7092

Closed drewvolz closed 11 months ago

drewvolz commented 11 months ago

The getter onSuccess (the first one) directly calling setServerAddress avoids extra state that is tripping up the form.

The setter onSuccess (the second one) calling restart just makes this nicer.

The reload call remains a shared function.

codecov[bot] commented 11 months ago

Codecov Report

Merging #7092 (0cea2ee) into master (c323606) will increase coverage by 0.00%. The diff coverage is 0.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #7092 +/- ## ====================================== Coverage 8.39% 8.40% ====================================== Files 304 304 Lines 5169 5166 -3 Branches 1395 1394 -1 ====================================== Hits 434 434 + Misses 4707 4705 -2 + Partials 28 27 -1 ```