feat: get cards from backend
This commit is contained in:
@@ -6,6 +6,7 @@ import 'package:random_avatar/random_avatar.dart';
|
||||
|
||||
import '../../../../core/theme/app_theme.dart';
|
||||
import '../../../../core/widgets/game_ui.dart';
|
||||
import '../../../../core/widgets/rank_badge.dart';
|
||||
import '../../../wallet/presentation/bloc/wallet_bloc.dart';
|
||||
import '../../../wallet/presentation/bloc/wallet_event.dart';
|
||||
import '../../domain/entities/profile_entity.dart';
|
||||
@@ -146,6 +147,8 @@ class ProfileScreen extends StatelessWidget {
|
||||
if (d.vip) ...[const SizedBox(width: 8), const _VipBadge()],
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
RankBadge(tier: d.rankTier, points: d.rankPoints),
|
||||
if (d.mobile.isNotEmpty)
|
||||
Text(
|
||||
d.mobile,
|
||||
|
||||
Reference in New Issue
Block a user