🌐 Localized able friends online
This commit is contained in:
@@ -1474,5 +1474,6 @@
|
|||||||
"lotteryLastNumberSpecial": "The last selected number will be your special number.",
|
"lotteryLastNumberSpecial": "The last selected number will be your special number.",
|
||||||
"lotteryMultiplierRequired": "Please enter a multiplier",
|
"lotteryMultiplierRequired": "Please enter a multiplier",
|
||||||
"lotteryMultiplierRange": "Multiplier must be between 1 and 10",
|
"lotteryMultiplierRange": "Multiplier must be between 1 and 10",
|
||||||
"dropToShare": "Drop to share"
|
"dropToShare": "Drop to share",
|
||||||
|
"friendsOnline": "Friends Online"
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
import 'package:easy_localization/easy_localization.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_hooks/flutter_hooks.dart';
|
import 'package:flutter_hooks/flutter_hooks.dart';
|
||||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||||
@@ -62,7 +63,10 @@ class FriendsOverviewWidget extends HookConsumerWidget {
|
|||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
spacing: 8,
|
spacing: 8,
|
||||||
children: [const Icon(Symbols.group), Text('Friends Online')],
|
children: [
|
||||||
|
const Icon(Symbols.group),
|
||||||
|
Text('friendsOnline').tr(),
|
||||||
|
],
|
||||||
).padding(horizontal: 16).height(48),
|
).padding(horizontal: 16).height(48),
|
||||||
if (onlineFriends.isEmpty)
|
if (onlineFriends.isEmpty)
|
||||||
Container(
|
Container(
|
||||||
|
|||||||
Reference in New Issue
Block a user