mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-12-14 23:25:45 +00:00
Continue to fix deprecation warnings
This commit is contained in:
@@ -91,7 +91,7 @@ class _FriendsListScreenState extends SafeState<FriendsListScreen> {
|
||||
Widget _buildError() => buildErrorCard(
|
||||
tr("Could not load your list of friends!"),
|
||||
actions: [
|
||||
FlatButton(
|
||||
TextButton(
|
||||
onPressed: _refreshList,
|
||||
child: Text(
|
||||
tr("Retry").toUpperCase(),
|
||||
@@ -171,11 +171,11 @@ class _FriendsListScreenState extends SafeState<FriendsListScreen> {
|
||||
content: Text(tr(
|
||||
"Are you sure do you want to remove this friend from your list of friends ? A friendship request will have to be sent to get this user back to your list!")),
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context, false),
|
||||
child: Text(tr("Cancel").toUpperCase()),
|
||||
),
|
||||
FlatButton(
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context, true),
|
||||
child: Text(
|
||||
tr("Confirm").toUpperCase(),
|
||||
|
||||
Reference in New Issue
Block a user