mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Tweak server profile edit window (#596)
* Tweak server profile edit window * Fix typo
This commit is contained in:
parent
8733deb46a
commit
94d43bc377
1 changed files with 2 additions and 1 deletions
|
|
@ -315,10 +315,11 @@ class _ProfileEditState extends State<ProfileEditWidget> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
backgroundColor: COLOR_APP_BAR,
|
||||||
title: Text(widget.profile == null ? L10().profileAdd : L10().profileEdit),
|
title: Text(widget.profile == null ? L10().profileAdd : L10().profileEdit),
|
||||||
actions: [
|
actions: [
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: Icon(TablerIcons.device_floppy),
|
icon: Icon(TablerIcons.circle_check),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
if (formKey.currentState!.validate()) {
|
if (formKey.currentState!.validate()) {
|
||||||
formKey.currentState!.save();
|
formKey.currentState!.save();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue