Commit 765e18bb authored by Wilko Manger's avatar Wilko Manger

Use localized string for logout button

parent 6ce4d01f
......@@ -18,6 +18,8 @@
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../../resources/intl/localizations.dart';
import '../../../../../auth/bloc.dart' hide LoggedOut;
import '../../../../../app.dart';
import '../../../../../matrix.dart';
......@@ -78,7 +80,7 @@ class LogoutButton extends StatelessWidget {
),
),
),
label: Text('Logout'.toUpperCase()),
label: Text(context.intl.settings.logoutButton.toUpperCase()),
);
},
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment