jakeswenson / BitBetter

Modify bit warden to provide my own licensing for self hosting
510 stars 115 forks source link

MaxStorageGb customization #88

Closed kerenon closed 3 years ago

kerenon commented 3 years ago

I've been using this modification for a while to customize the MaxStorageGb value for months now. I don't know if the quality is acceptable or not, I'm not really into C#. But it works.

alexyao2015 commented 3 years ago

That would only be used to reduce the storage size, no? The original value was the maximum value possible around 32TB.

JeffAlyanak commented 3 years ago

That would only be used to reduce the storage size, no? The original value was the maximum value possible around 32TB.

I think overall it's a good idea to allow end-users to set the exact value they want for storage. The default should still remain at short.MaxValue.

kerenon commented 3 years ago

This should do the trick. I also added the storage size to the final confirmation/summary.

JeffAlyanak commented 3 years ago

I was just about to say that the one thing it needs is to show the user the default on the prompt, but that's solved now. Works well for me.