Add more icons

This commit is contained in:
problematicconsumer
2023-07-26 20:10:43 +03:30
parent d96a8fbcc5
commit b66a3364e1
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import 'package:flutter/material.dart';
import 'package:hiddify/core/locale/locale.dart';
enum ProfilesSort {
@@ -10,4 +11,9 @@ enum ProfilesSort {
name => t.profile.sortBy.name,
};
}
IconData get icon => switch (this) {
lastUpdate => Icons.update,
name => Icons.sort_by_alpha,
};
}