sync put on renamed device
This commit is contained in:
parent
bb02f8ac64
commit
a38add0945
1 changed files with 2 additions and 0 deletions
|
|
@ -1032,6 +1032,8 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
api.uc.prompt(`Rename "${selected}`, selected).then(newname => {
|
||||
if (newname) {
|
||||
updateDeviceName(newname);
|
||||
api.conf.save();
|
||||
sync_put();
|
||||
showDevices();
|
||||
} else {
|
||||
showDevices();
|
||||
|
|
|
|||
Loading…
Reference in a new issue