Watch
1
0
Fork
You've already forked nexus
0
forked from Nexus/nexus

treewide: small refactors

This commit is contained in:
Henry Hiles 2026-10-15 20:10:44 -04:00
commit 8d944831f5
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
10 changed files with 63 additions and 63 deletions

View file

@ -36,7 +36,7 @@ final class const UserBottomSheet(
);
final client = ref.read(ClientController.provider.notifier);
void showMembershipDialog(MembershipAction action) =>
void showMembershipSheet(MembershipAction action) =>
context.showAdaptiveSheet(
(context) => HookBuilder(
builder: (context) {
@ -229,7 +229,7 @@ final class const UserBottomSheet(
children: [
if (member.status == .join || member.status == .invite)
M3EButton.icon(
onPressed: () => showMembershipDialog(.kick),
onPressed: () => showMembershipSheet(.kick),
shape: .square,
icon: Icon(Icons.sports_martial_arts),
label: Text("Kick"),
@ -244,7 +244,7 @@ final class const UserBottomSheet(
),
M3EButton.icon(
onPressed: () => showMembershipDialog(.ban),
onPressed: () => showMembershipSheet(.ban),
shape: .square,
icon: Icon(Icons.gavel),
label: Text("Ban"),