Fix translation key

This commit is contained in:
Vishesh Handa
2020-10-23 00:06:13 +02:00
parent bc06efc446
commit c3d61d25cd

View File

@ -95,7 +95,7 @@ class NoteViewer extends StatelessWidget {
if (!opened) { if (!opened) {
showSnackbar( showSnackbar(
context, context,
tr('wigets.NoteViewer.linkInvalid', args: [link]), tr('widgets.NoteViewer.linkInvalid', args: [link]),
); );
} }
return; return;
@ -108,7 +108,7 @@ class NoteViewer extends StatelessWidget {
Log.e("Opening Link", ex: e, stacktrace: stackTrace); Log.e("Opening Link", ex: e, stacktrace: stackTrace);
showSnackbar( showSnackbar(
context, context,
tr('wigets.NoteViewer.linkNotFound', args: [link]), tr('widgets.NoteViewer.linkNotFound', args: [link]),
); );
} }
}, },