commit
3fda085cbb
@ -579,6 +579,13 @@ class AddressBookTag extends StatelessWidget {
|
||||
ColorPickerType.accent: false,
|
||||
ColorPickerType.wheel: true,
|
||||
},
|
||||
pickerTypeLabels: {
|
||||
ColorPickerType.primary: translate("Primary Color"),
|
||||
ColorPickerType.wheel: translate("HSV Color"),
|
||||
},
|
||||
actionButtons: ColorPickerActionButtons(
|
||||
dialogOkButtonLabel: translate("OK"),
|
||||
dialogCancelButtonLabel: translate("Cancel")),
|
||||
showColorCode: true,
|
||||
);
|
||||
if (oldColor != newColor) {
|
||||
|
@ -735,11 +735,12 @@ abstract class BasePeerCard extends StatelessWidget {
|
||||
proc: () async {
|
||||
bool result = gFFI.abModel.changePassword(id, '');
|
||||
await bind.mainForgetPassword(id: id);
|
||||
bool toast = false;
|
||||
if (result) {
|
||||
bool toast = tab == PeerTabIndex.ab;
|
||||
toast = tab == PeerTabIndex.ab;
|
||||
gFFI.abModel.pushAb(toastIfFail: toast, toastIfSucc: toast);
|
||||
}
|
||||
showToast(translate('Successful'));
|
||||
if (!toast) showToast(translate('Successful'));
|
||||
},
|
||||
padding: menuPadding,
|
||||
dismissOnClicked: true,
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "未成功上传地址簿"),
|
||||
("synced_peer_readded_tip", "最近会话中存在的设备将会被重新同步到地址簿。"),
|
||||
("Change Color", "更改颜色"),
|
||||
("Primary Color", "基本色"),
|
||||
("HSV Color", "HSV 色"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "Nepodařilo se synchronizovat adresář se serverem"),
|
||||
("synced_peer_readded_tip", "Zařízení, která byla přítomna v posledních relacích, budou synchronizována zpět do adresáře."),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "Synchronisierung des Adressbuchs mit dem Server fehlgeschlagen"),
|
||||
("synced_peer_readded_tip", "Die Geräte, die in den letzten Sitzungen vorhanden waren, werden erneut zum Adressbuch hinzugefügt."),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "No se ha podido sincronizar el directorio con el servidor"),
|
||||
("synced_peer_readded_tip", "Los dispositivos presentes en sesiones recientes se sincronizarán con el directorio."),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "Échec de la synchronisation du carnet d'adresses"),
|
||||
("synced_peer_readded_tip", "Les appareils qui étaient présents dans les sessions récentes seront synchronisés avec le carnet d'adresses."),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "Gagal menyinkronkan buku alamat ke server"),
|
||||
("synced_peer_readded_tip", "Perangkat yang terdaftar dalam sesi-sesi terbaru akan di-sinkronkan kembali ke buku alamat."),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "Impossibile sincronizzare la rubrica con il server"),
|
||||
("synced_peer_readded_tip", "I dispositivi presenti nelle sessioni recenti saranno sincronizzati di nuovo nella rubrica."),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "Невозможно синхронизировать адресную книгу с сервером"),
|
||||
("synced_peer_readded_tip", "Устройства, присутствовавшие в последних сеансах, будут синхронизированы с адресной книгой."),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", "未成功上傳地址簿"),
|
||||
("synced_peer_readded_tip", "最近會話中存在的設備將會被重新同步到地址簿。"),
|
||||
("Change Color", "更改顏色"),
|
||||
("Primary Color", "基本色"),
|
||||
("HSV Color", "HSV 色"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -539,5 +539,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("push_ab_failed_tip", ""),
|
||||
("synced_peer_readded_tip", ""),
|
||||
("Change Color", ""),
|
||||
("Primary Color", ""),
|
||||
("HSV Color", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user