feat: Added shortcut to switch between providers

This commit is contained in:
WerWolv
2023-09-24 18:04:14 +02:00
parent be8c679d4a
commit f79e2df11a
3 changed files with 36 additions and 2 deletions

View File

@@ -255,6 +255,10 @@ namespace hex {
}
}
i64 getCurrentProviderIndex() {
return s_currentProvider;
}
bool isValid() {
return !s_providers.empty() && s_currentProvider >= 0 && s_currentProvider < i64(s_providers.size());
}