Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jun 18, 2024
1 parent c3cae3b commit 448736d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Fika.Core/UI/Patches/FikaVersionLabel_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class FikaVersionLabel_Patch : ModulePatch

private static string fikaVersion;

private static string officalVersion;
private static string officialVersion;

protected override MethodBase GetTargetMethod()
{
Expand Down Expand Up @@ -47,7 +47,7 @@ internal static void PatchPostfix(string major, object __result)

versionNumberTraverse = Traverse.Create(__result);

officalVersion = (string)versionNumberTraverse.Field("Major").GetValue();
officialVersion = (string)versionNumberTraverse.Field("Major").GetValue();

UpdateVersionLabel();
}
Expand All @@ -57,8 +57,8 @@ public static void UpdateVersionLabel()
Traverse preloaderUiTraverse= Traverse.Create(MonoBehaviourSingleton<PreloaderUI>.Instance);
if (FikaPlugin.OfficialVersion.Value)
{
preloaderUiTraverse.Field("string_2").SetValue($"{officalVersion} Beta version");
versionNumberTraverse.Field("Major").SetValue(officalVersion);
preloaderUiTraverse.Field("string_2").SetValue($"{officialVersion} Beta version");
versionNumberTraverse.Field("Major").SetValue(officialVersion);
}
else
{
Expand Down

0 comments on commit 448736d

Please sign in to comment.