Added comment
This commit is contained in:
@@ -248,7 +248,7 @@ abstract class AppLocalizations {
|
|||||||
/// **'Edit Group'**
|
/// **'Edit Group'**
|
||||||
String get edit_group;
|
String get edit_group;
|
||||||
|
|
||||||
/// No description provided for @edit_match.
|
/// Button & Appbar label for editing a match
|
||||||
///
|
///
|
||||||
/// In en, this message translates to:
|
/// In en, this message translates to:
|
||||||
/// **'Edit Match'**
|
/// **'Edit Match'**
|
||||||
|
|||||||
@@ -321,6 +321,8 @@ class _CreateMatchViewState extends State<CreateMatchView> {
|
|||||||
widget.onMatchUpdated?.call(updatedMatch);
|
widget.onMatchUpdated?.call(updatedMatch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Creates a new match and adds it to the database.
|
||||||
|
// Returns the created match.
|
||||||
Future<Match> createMatch() async {
|
Future<Match> createMatch() async {
|
||||||
final tempGame = await getTemporaryGame();
|
final tempGame = await getTemporaryGame();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user