2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

Tweak server profile edit window (#596)

* Tweak server profile edit window

* Fix typo
This commit is contained in:
Oliver 2025-01-11 16:40:17 +11:00 committed by GitHub
parent 8733deb46a
commit 94d43bc377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -315,10 +315,11 @@ class _ProfileEditState extends State<ProfileEditWidget> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: COLOR_APP_BAR,
title: Text(widget.profile == null ? L10().profileAdd : L10().profileEdit),
actions: [
IconButton(
icon: Icon(TablerIcons.device_floppy),
icon: Icon(TablerIcons.circle_check),
onPressed: () async {
if (formKey.currentState!.validate()) {
formKey.currentState!.save();