Skip to content

Commit

Permalink
fix: remove alphabetical sorting for fissures
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerOrnstein committed Mar 31, 2024
1 parent 9ad593a commit dcc657e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/settings/utils/notification_topic_filter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ class NotificationTopics {
MultiTopic(
title: l10n.warframeNewsNotificationTitle,
description: l10n.warframeNewsNotificationDescription,
filters: warframeNews,
filters: [...warframeNews]..sort((a, b) => a.title.compareTo(b.title)),
),
MultiTopic(
title: l10n.planetCyclesNotificationTitle,
description: l10n.planetCyclesNotificationDescription,
filters: planetCycles,
filters: [...planetCycles]..sort((a, b) => a.title.compareTo(b.title)),
),
MultiTopic(
title: l10n.resourcesNotificationTitle,
description: l10n.resourcesNotificationDescription,
filters: resources,
filters: [...resources]..sort((a, b) => a.title.compareTo(b.title)),
),
MultiTopic(
title: l10n.fissuresNotificationTitle,
Expand Down
3 changes: 0 additions & 3 deletions lib/settings/widgets/notifications.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ class FilterDialog extends StatelessWidget {

@override
Widget build(BuildContext context) {
final options = List<SimpleTopics>.from(this.options)
..sort((a, b) => a.title.compareTo(b.title));

return NavisDialog(
title: const Text('Options'),
content: SingleChildScrollView(
Expand Down

0 comments on commit dcc657e

Please sign in to comment.