♻️ Merge the social credits to the leveling page

This commit is contained in:
2025-09-24 13:59:01 +08:00
parent c06fb12f6a
commit 83e40cd860
7 changed files with 123 additions and 225 deletions

View File

@@ -290,8 +290,9 @@ class AccountSessionSheet extends HookConsumerWidget {
} catch (err) {
showErrorAlert(err);
} finally {
if (context.mounted)
if (context.mounted) {
hideLoadingModal(context);
}
}
}
return confirm;

View File

@@ -45,6 +45,8 @@ class LevelingProgressCard extends StatelessWidget {
child: LinearProgressIndicator(
minHeight: 4,
value: progress / 100,
stopIndicatorRadius: 0,
trackGap: 0,
color: Theme.of(context).colorScheme.primary,
backgroundColor:
Theme.of(context).colorScheme.surfaceContainerHigh,

View File

@@ -18,7 +18,7 @@ import "package:material_symbols_icons/material_symbols_icons.dart";
import "package:styled_widget/styled_widget.dart";
import "package:super_sliver_list/super_sliver_list.dart";
import "package:material_symbols_icons/symbols.dart";
import "package:riverpod_annotation/riverpod_annotation.dart";
import "package:island/screens/chat/chat.dart";
class PublicRoomPreview extends HookConsumerWidget {