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:
parent
8733deb46a
commit
94d43bc377
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user