File tree Expand file tree Collapse file tree 4 files changed +277
-330
lines changed Expand file tree Collapse file tree 4 files changed +277
-330
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ class AnalyticsEvent with _$AnalyticsEvent {
114114 const factory AnalyticsEvent .profileLogout (PageSource from) = _ProfileLogout ;
115115 const factory AnalyticsEvent .profileWithdraw () = _ProfileWithdraw ;
116116 const factory AnalyticsEvent .profileLogin (PageSource from) = _ProfileLogin ;
117+ const factory AnalyticsEvent .profileGroup () = _ProfileGroup ;
117118 const factory AnalyticsEvent .profileSettingEnableNotification () =
118119 _ProfileSettingEnableNotification ;
119120 const factory AnalyticsEvent .profileSettingLanguage (AppLocale lang) =
Original file line number Diff line number Diff line change @@ -85,7 +85,18 @@ class _Layout extends StatelessWidget {
8585 ],
8686 ),
8787 ),
88- const SizedBox (height: 40 ),
88+ SizedBox (height: 40 ),
89+ if (authenticated) ...[
90+ ZiggleRowButton (
91+ icon: Assets .icons.colorFilter.svg (),
92+ title: Text (context.t.user.groups),
93+ onPressed: () {
94+ AnalyticsRepository .click (AnalyticsEvent .profileGroup ());
95+ GroupManagementMainRoute ().push (context);
96+ },
97+ ),
98+ const SizedBox (height: 20 ),
99+ ],
89100 ZiggleRowButton (
90101 leadingIcon: Assets .icons.setting.svg (),
91102 title: Text (context.t.user.setting.title),
You can’t perform that action at this time.
0 commit comments