mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
NEW - [Networking] Strict TLS/SSL validation is now disabled globally - [Routing] Hold the AppBar back button to pop back to the home page of the module - [Settings/Sonarr] Toggle to enable Sonarr v3 features - [Sonarr] Complete rewrite of Sonarr - [Sonarr] State is now held across module switches - [Sonarr/Overview] View tags applied to series - [Sonarr/Catalogue] (v3 only) Ability to set and update language profile - [Sonarr/Catalogue] Ability to view all, only monitored, or only unmonitored series - [Sonarr/Releases] (v3 only) Ability to interactively search for season packs - [Sonarr/Releases] Ability to view all, only approved, or only rejected releases TWEAKS - [Settings] Removed all toggles for strict TLS - [Sonarr] Many tweaks to Sonarr's design - [Sonarr/Add] (v3 only) Tapping an already-added series will take you to the series page - [Sonarr/Add] Automatically navigate to newly added series - [Sonarr/Series] Toggling monitored state of series has now been moved to the edit prompt FIXES - [Images] Images will now load for invalid/self-signed certificates - [Tautulli/Activity] Fix grey screen for music activity - [TextField] Fix TextField actions (cut, copy, paste, etc.) not showing - [Timestamps] Fix 12:xx AM being shown as 00:xx AM - Additional small bug fixes
91 lines
2.4 KiB
Dart
91 lines
2.4 KiB
Dart
import 'package:lunasea/core.dart';
|
|
|
|
class NZBGetState extends LunaGlobalState {
|
|
NZBGetState() {
|
|
reset();
|
|
}
|
|
|
|
@override
|
|
void reset() {}
|
|
|
|
bool _error = false;
|
|
bool get error => _error;
|
|
set error(bool error) {
|
|
assert(error != null);
|
|
_error = error;
|
|
notifyListeners();
|
|
}
|
|
|
|
bool _paused = true;
|
|
bool get paused => _paused;
|
|
set paused(bool paused) {
|
|
assert(paused != null);
|
|
_paused = paused;
|
|
notifyListeners();
|
|
}
|
|
|
|
int _speed = 0;
|
|
int get speed => _speed;
|
|
set speed(int speed) {
|
|
assert(speed != null);
|
|
_speed = speed;
|
|
notifyListeners();
|
|
}
|
|
|
|
String _currentSpeed = '0.0 B/s';
|
|
String get currentSpeed => _currentSpeed;
|
|
set currentSpeed(String currentSpeed) {
|
|
assert(currentSpeed != null);
|
|
_currentSpeed = currentSpeed;
|
|
notifyListeners();
|
|
}
|
|
|
|
String _queueTimeLeft = '0:00:00';
|
|
String get queueTimeLeft => _queueTimeLeft;
|
|
set queueTimeLeft(String queueTimeLeft) {
|
|
assert(queueTimeLeft != null);
|
|
_queueTimeLeft = queueTimeLeft;
|
|
notifyListeners();
|
|
}
|
|
|
|
String _queueSizeLeft = '0.0 B';
|
|
String get queueSizeLeft => _queueSizeLeft;
|
|
set queueSizeLeft(String queueSizeLeft) {
|
|
assert(queueSizeLeft != null);
|
|
_queueSizeLeft = queueSizeLeft;
|
|
notifyListeners();
|
|
}
|
|
|
|
String _speedLimit = '0.0 B';
|
|
String get speedLimit => _speedLimit;
|
|
set speedLimit(String speedLimit) {
|
|
assert(speedLimit != null);
|
|
_speedLimit = speedLimit;
|
|
notifyListeners();
|
|
}
|
|
|
|
String _historySearchFilter = '';
|
|
String get historySearchFilter => _historySearchFilter;
|
|
set historySearchFilter(String historySearchFilter) {
|
|
assert(historySearchFilter != null);
|
|
_historySearchFilter = historySearchFilter;
|
|
notifyListeners();
|
|
}
|
|
|
|
bool _historyHideFailed = false;
|
|
bool get historyHideFailed => _historyHideFailed;
|
|
set historyHideFailed(bool historyHideFailed) {
|
|
assert(historyHideFailed != null);
|
|
_historyHideFailed = historyHideFailed;
|
|
notifyListeners();
|
|
}
|
|
|
|
int _navigationIndex = 0;
|
|
int get navigationIndex => _navigationIndex;
|
|
set navigationIndex(int navigationIndex) {
|
|
assert(navigationIndex != null);
|
|
_navigationIndex = navigationIndex;
|
|
notifyListeners();
|
|
}
|
|
}
|