From c097f28885a071cfd1e737c0b619bf39d685969d Mon Sep 17 00:00:00 2001 From: RemRem Date: Tue, 21 Nov 2023 15:06:25 +0100 Subject: [PATCH] :pencil2: add const keyword + typo --- lib/view/profile/mobile/mobile_profile_view.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/view/profile/mobile/mobile_profile_view.dart b/lib/view/profile/mobile/mobile_profile_view.dart index 9ef1fbe..a64bcb9 100644 --- a/lib/view/profile/mobile/mobile_profile_view.dart +++ b/lib/view/profile/mobile/mobile_profile_view.dart @@ -239,7 +239,7 @@ class _MobileProfileView extends State { ), Expanded( child: Text( - "Pop-up Notification", + "Push Notifications", style: TextStyle( color: TColor.black, fontSize: 12, @@ -248,9 +248,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, @@ -258,7 +258,7 @@ class _MobileProfileView extends State { iconBuilder: (context, local, global) { return const SizedBox(); }, - cursors: ToggleCursors( + cursors: const ToggleCursors( defaultCursor: SystemMouseCursors.click), onTap: (_) => setState(() => positive = !positive),