diff --git a/lib/view/profile/mobile/mobile_profile_view.dart b/lib/view/profile/mobile/mobile_profile_view.dart index 1fd9db1..b60212f 100644 --- a/lib/view/profile/mobile/mobile_profile_view.dart +++ b/lib/view/profile/mobile/mobile_profile_view.dart @@ -277,7 +277,7 @@ class _MobileProfileView extends State { ), Expanded( child: Text( - "Pop-up Notification", + "Push Notifications", style: TextStyle( color: TColor.black, fontSize: 12, @@ -286,9 +286,9 @@ class _MobileProfileView extends State { ), CustomAnimatedToggleSwitch( current: positive, - values: [false, true], + values: const [false, true], spacing: 0.0, - indicatorSize: Size.square(25.0), + indicatorSize: const Size.square(25.0), animationDuration: const Duration(milliseconds: 200), animationCurve: Curves.linear, @@ -296,7 +296,7 @@ class _MobileProfileView extends State { iconBuilder: (context, local, global) { return const SizedBox(); }, - cursors: ToggleCursors( + cursors: const ToggleCursors( defaultCursor: SystemMouseCursors.click), onTap: (_) => setState(() => positive = !positive),