Referral: Remove 2000 GB claim limit
This commit is contained in:
parent
2969705633
commit
c9b4933575
1 changed files with 2 additions and 7 deletions
|
@ -22,12 +22,9 @@ class StorageDetailsScreen extends StatefulWidget {
|
||||||
|
|
||||||
class _StorageDetailsScreenState extends State<StorageDetailsScreen> {
|
class _StorageDetailsScreenState extends State<StorageDetailsScreen> {
|
||||||
bool canApplyCode = true;
|
bool canApplyCode = true;
|
||||||
int maxClaimableStorageBonus = 2000;
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
maxClaimableStorageBonus =
|
|
||||||
widget.referralView.planInfo.maxClaimableStorageInGB;
|
|
||||||
super.initState();
|
super.initState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,8 +110,7 @@ class _StorageDetailsScreenState extends State<StorageDetailsScreen> {
|
||||||
leftValue: convertBytesToAbsoluteGBs(
|
leftValue: convertBytesToAbsoluteGBs(
|
||||||
widget.referralView.claimedStorage),
|
widget.referralView.claimedStorage),
|
||||||
leftUnitName: "GB",
|
leftUnitName: "GB",
|
||||||
rightValue: maxClaimableStorageBonus,
|
rightValue: null,
|
||||||
rightUnitName: "GB",
|
|
||||||
),
|
),
|
||||||
BonusInfoSection(
|
BonusInfoSection(
|
||||||
sectionName: "Free storage usable",
|
sectionName: "Free storage usable",
|
||||||
|
@ -132,8 +128,7 @@ class _StorageDetailsScreenState extends State<StorageDetailsScreen> {
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Usable storage is limited by your current"
|
"Usable storage is limited by your current"
|
||||||
" plan, but you can claim upto "
|
" plan. Excess"
|
||||||
"$maxClaimableStorageBonus GB. Excess"
|
|
||||||
" claimed storage will automatically become"
|
" claimed storage will automatically become"
|
||||||
" usable when you upgrade your plan.",
|
" usable when you upgrade your plan.",
|
||||||
style: textStyle.small
|
style: textStyle.small
|
||||||
|
|
Loading…
Add table
Reference in a new issue