Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into develop
  • Loading branch information
lexinor committed Jul 3, 2021
2 parents 1e44b69 + 22c80ac commit 261065c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/components/dialog/edit_association_img_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'dart:io';
import 'package:assosnation_app/components/no_image_placeholder.dart';
import 'package:assosnation_app/services/firebase/storage/storage_service.dart';
import 'package:assosnation_app/services/models/association.dart';
import 'package:assosnation_app/utils/imports/commons.dart';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';

Expand Down Expand Up @@ -89,11 +90,13 @@ class _EditAssociationImgDialogState extends State<EditAssociationImgDialog> {
children: [
OutlinedButton(
onPressed: () => Navigator.pop(context),
child: Text("Cancel", style: TextStyle(color: Colors.red))),
child: Text(
AppLocalizations.of(context)!.cancel_button_label,
style: TextStyle(color: Colors.red))),
OutlinedButton(
onPressed: _verifyAndValidateForm,
child: Text(
"Update",
AppLocalizations.of(context)!.confirm_button_label,
style: TextStyle(color: Theme.of(context).accentColor),
)),
],
Expand Down

0 comments on commit 261065c

Please sign in to comment.