mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-11 17:50:23 +00:00
feat: init Party Room
This commit is contained in:
@@ -33,8 +33,10 @@ class Nav extends _$Nav {
|
||||
if (!_mounted) return;
|
||||
try {
|
||||
final r = await UDBNavApi.getNavItems(pageNo: pageNo);
|
||||
if (!_mounted) return;
|
||||
state = state.copyWith(items: r.docs, errorInfo: "");
|
||||
} catch (e) {
|
||||
if (!_mounted) return;
|
||||
state = state.copyWith(errorInfo: e.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ final class NavProvider extends $NotifierProvider<Nav, NavState> {
|
||||
}
|
||||
}
|
||||
|
||||
String _$navHash() => r'00c4da8fdd37214cda179a81ece3676add7aab53';
|
||||
String _$navHash() => r'bd3773505d6ae53f577ac6f3bfe711b320faa524';
|
||||
|
||||
abstract class _$Nav extends $Notifier<NavState> {
|
||||
NavState build();
|
||||
|
||||
Reference in New Issue
Block a user