multiple payout page and small fixes #464
Reference in New Issue
Block a user
Delete Branch "SEND047"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@@ -11,3 +11,3 @@final AccountResponse account;final TokenData pendingToken;final String destination;@JsonKey(name: 'destination')Поправь, пожалуйста, здесь имя переменной и атавизм в бэке на Target тоже, чтобы не расходилось.
@@ -19,2 +16,2 @@bool get canResendVerification =>errorCode == 400 || errorCode == 410 || errorCode == 500;ErrorResponse? get errorResponse =>_resource.error is ErrorResponse ? _resource.error as ErrorResponse : null;есть же хелпер toException?
toException тут не помогает, он же приводит Object к Exception, но не к ErrorResponse
@@ -21,0 +18,4 @@bool get canResendVerification {final err = errorResponse;if (err == null) return false;switch (err.error) {а на код ошибки не надежнее полагаться?
@@ -127,3 +131,4 @@_lastIntents = null;_lastPreviewOnly = false;_lastMetadata = null;_cancelAutoRefresh();лучше все-таки разделить уже провайдер и контроллер. провайдер - про данные, контроллер - GUI-специфичная тема с автообновлением. А то сложно.