mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-17 23:42:58 +00:00
Changed filter clients modal design
This commit is contained in:
parent
7f77b3c6ca
commit
0b0f38cd2e
8 changed files with 253 additions and 189 deletions
|
@ -20,7 +20,7 @@ class LogsProvider with ChangeNotifier {
|
|||
DateTime? _logsOlderThan;
|
||||
String _selectedResultStatus = 'all';
|
||||
String? _searchText;
|
||||
List<String>? _selectedClients;
|
||||
List<String> _selectedClients = [];
|
||||
|
||||
int _logsQuantity = 100;
|
||||
int _offset = 0;
|
||||
|
@ -65,7 +65,7 @@ class LogsProvider with ChangeNotifier {
|
|||
return _offset;
|
||||
}
|
||||
|
||||
List<String>? get selectedClients {
|
||||
List<String> get selectedClients {
|
||||
return _selectedClients;
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,7 @@ class LogsProvider with ChangeNotifier {
|
|||
}
|
||||
|
||||
void setSelectedClients(List<String>? clients) {
|
||||
_selectedClients = clients;
|
||||
_selectedClients = clients ?? [];
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue