mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-28 20:13:28 +01:00 
			
		
		
		
	More BG update interval options (#1431)
This commit is contained in:
		| @@ -30,8 +30,22 @@ enum SortOrderSettings { ascending, descending } | |||||||
|  |  | ||||||
| const maxAPIRateLimitMinutes = 30; | const maxAPIRateLimitMinutes = 30; | ||||||
| const minUpdateIntervalMinutes = maxAPIRateLimitMinutes + 30; | const minUpdateIntervalMinutes = maxAPIRateLimitMinutes + 30; | ||||||
| const maxUpdateIntervalMinutes = 4320; | const maxUpdateIntervalMinutes = 43200; | ||||||
| List<int> updateIntervals = [15, 30, 60, 120, 180, 360, 720, 1440, 4320, 0] | List<int> updateIntervals = [ | ||||||
|  |   15, | ||||||
|  |   30, | ||||||
|  |   60, | ||||||
|  |   120, | ||||||
|  |   180, | ||||||
|  |   360, | ||||||
|  |   720, | ||||||
|  |   1440, | ||||||
|  |   4320, | ||||||
|  |   10080, | ||||||
|  |   20160, | ||||||
|  |   43200, | ||||||
|  |   0 | ||||||
|  | ] | ||||||
|     .where((element) => |     .where((element) => | ||||||
|         (element >= minUpdateIntervalMinutes && |         (element >= minUpdateIntervalMinutes && | ||||||
|             element <= maxUpdateIntervalMinutes) || |             element <= maxUpdateIntervalMinutes) || | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user