Require Sia 1.2.0 and fix UI available/free storage display
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <cstdint>
|
||||
|
||||
#define SIDRIVE_VERSION_STRING "0.0.1"
|
||||
#define COMPAT_SIAD_VERSION "1.1.2"
|
||||
#define COMPAT_SIAD_VERSION "1.2.0"
|
||||
|
||||
#ifdef _WIN32
|
||||
// Disable DLL-interface warnings
|
||||
@@ -194,15 +194,6 @@ inline static Hastings SiaCurrencyToHastings(const SiaCurrency& currency)
|
||||
return parser.stack[0].value.ToString(conv);
|
||||
}
|
||||
|
||||
inline static SString SiaCurrencyToGB(const SiaCurrency& value)
|
||||
{
|
||||
ttmath::Conv conv;
|
||||
conv.base = 10;
|
||||
conv.round = 3;
|
||||
|
||||
return value.ToWString(conv);
|
||||
}
|
||||
|
||||
SString SIADRIVE_EXPORTABLE BytesToFriendlyDisplay(const SiaCurrency& bytes);
|
||||
|
||||
BOOL SIADRIVE_EXPORTABLE RetryAction(std::function<BOOL()> func, std::uint16_t retryCount, const DWORD& retryDelay);
|
||||
|
Reference in New Issue
Block a user