New activity presence

This commit is contained in:
2025-11-01 20:16:54 +08:00
parent 53a3a32907
commit 5ee2e70442
6 changed files with 483 additions and 28 deletions

View File

@@ -22,6 +22,7 @@ import 'package:island/utils/text.dart';
import 'package:island/services/time.dart';
import 'package:island/services/timezone/native.dart';
import 'package:island/widgets/account/account_name.dart';
import 'package:island/widgets/account/activity_presence.dart';
import 'package:island/widgets/account/badge.dart';
import 'package:island/widgets/account/fortune_graph.dart';
import 'package:island/widgets/account/leveling_progress.dart';
@@ -882,6 +883,9 @@ class AccountProfileScreen extends HookConsumerWidget {
),
),
),
SliverToBoxAdapter(
child: ActivityPresenceWidget(uname: name),
),
],
),
),
@@ -1006,6 +1010,11 @@ class AccountProfileScreen extends HookConsumerWidget {
),
).padding(horizontal: 4),
),
SliverToBoxAdapter(
child: ActivityPresenceWidget(
uname: name,
).padding(horizontal: 4),
),
],
),
);