Skip to content

Commit ec6b78f

Browse files
committed
fix: Editor settings minor bug fix
1 parent d00cd42 commit ec6b78f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Editor/View/JahroEditorView.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,17 +139,16 @@ private async void CheckAndValidateAPIKey()
139139
await KeyValidator.Send(savedApiKey, (response) =>
140140
{
141141
_apiKeyValidation = response;
142+
if (_apiKeyValidation != null && _apiKeyValidation.success)
143+
{
144+
OnAPIKeyValidated(_apiKeyValidation);
145+
}
142146
}, (response) =>
143147
{
144148
_apiKeyValidation = response;
145149
_welcomeView.ShowError(response.message);
146150
Debug.LogError("Error validating API key: " + response.message);
147151
});
148-
149-
if (_apiKeyValidation != null && _apiKeyValidation.success)
150-
{
151-
OnAPIKeyValidated(_apiKeyValidation);
152-
}
153152
}
154153
catch (Exception ex)
155154
{

Runtime/Core/JahroConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public enum Environment
1515
}
1616

1717
internal const Environment ENV = Environment.PROD;
18-
public static readonly string CurrentVersion = "1.0.0-beta1";
18+
public static readonly string CurrentVersion = "1.0.0-beta2";
1919

2020
#endregion
2121

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "io.jahro.console",
3-
"version": "1.0.0-beta1",
3+
"version": "1.0.0-beta2",
44
"displayName": "Jahro",
55
"description": "Jahro is a powerful and easy-to-use Unity debugging console and runtime tool. Effortlessly execute commands, monitor variables in real-time, capture logs, and sync snapshots to analyze your game like never before. Perfect for developers who want a smarter way to debug, test, and optimize their Unity projects!",
66
"unity": "2021.1",

0 commit comments

Comments
 (0)