♻️ Refactored friend module
This commit is contained in:
@ -7,7 +7,7 @@ import 'package:solian/providers/auth.dart';
|
||||
import 'package:solian/services.dart';
|
||||
import 'package:solian/widgets/account/account_avatar.dart';
|
||||
import 'package:solian/widgets/account/account_profile_popup.dart';
|
||||
import 'package:solian/widgets/account/friend_select.dart';
|
||||
import 'package:solian/widgets/account/relative_select.dart';
|
||||
|
||||
class RealmMemberListPopup extends StatefulWidget {
|
||||
final Realm realm;
|
||||
@ -59,7 +59,7 @@ class _RealmMemberListPopupState extends State<RealmMemberListPopup> {
|
||||
final input = await showModalBottomSheet(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return FriendSelect(title: 'channelMembersAdd'.tr);
|
||||
return RelativeSelector(title: 'channelMembersAdd'.tr);
|
||||
},
|
||||
);
|
||||
if (input == null) return;
|
||||
|
Reference in New Issue
Block a user