Files
Unciv/android/assets
Leonard Günther 09b4e82589 Rate limit handling for Dropbox (#6416)
* Added rate limit handling to dropbox

+ some refactor to make the whole file one object

* Added error messages on rate limit reached

+ refactored some popup code to reduce repetition

* Fixed merge error

* Made variables private

* Fixed file upload not working

because of missing override flag for dropbox

* Stop multiplayer refresher if rate limit reached

* Fixed typo

* Various code changes/fixes

- ErrorResponse var name has to be `error` because that's how DropBox's json property is named
- Change FileStorageRateLimitReached exception to store the seconds remaining as its own property instead of in the message
- Use toIntOrNull to avoid setting defaults in two places

* Fixed missed exception message

Co-authored-by: Azzurite <azzurite@gmail.com>
2022-05-13 09:16:52 +03:00
..
2022-03-05 20:10:03 +02:00
2022-03-05 20:10:03 +02:00
2022-05-11 17:58:30 +03:00
2022-05-11 17:58:30 +03:00
2022-05-11 17:58:30 +03:00
2022-05-11 17:58:30 +03:00
2022-05-11 17:58:30 +03:00
2022-05-11 17:58:30 +03:00