Skip to content

Commit

Permalink
PATCH v3.0.4 (Temporarily Disabled sharing and profile change listener)
Browse files Browse the repository at this point in the history
  • Loading branch information
weedeej committed Mar 1, 2022
1 parent 014c17b commit d7ff978
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions ValorantCC/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ private async void btnSave_Click(object sender, RoutedEventArgs e)
Utilities.Utils.MessageText("You are not logged in!", Brushes.Red);
return;
}
Utilities.Utils.MessageText("Saving...", Brushes.Yellow);
SelectedColors = new List<Color> { (Color)primary_color.SelectedColor, (Color)prim_outline_color.SelectedColor, (Color)ads_color.SelectedColor, (Color)ads_outline_color.SelectedColor, (Color)sniper_dot_color.SelectedColor };

if (await DataProcessor.SaveNewColor(SelectedColors, profiles.SelectedIndex, profiles.Text))
Expand All @@ -67,7 +68,7 @@ private async void btnSave_Click(object sender, RoutedEventArgs e)
return;
}

private async void profiles_SelectionChanged(object sender, SelectionChangedEventArgs e)
private void profiles_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if (profiles.SelectedIndex == -1) return;

Expand All @@ -81,7 +82,7 @@ private async void profiles_SelectionChanged(object sender, SelectionChangedEven
ads_color.SelectedColor = Color.FromRgb(SelectedProfile.aDS.Color.R, SelectedProfile.aDS.Color.G, SelectedProfile.aDS.Color.B);
ads_outline_color.SelectedColor = Color.FromRgb(SelectedProfile.aDS.OutlineColor.R, SelectedProfile.aDS.OutlineColor.G, SelectedProfile.aDS.OutlineColor.B);
sniper_dot_color.SelectedColor = Color.FromRgb(SelectedProfile.Sniper.CenterDotColor.R, SelectedProfile.Sniper.CenterDotColor.G, SelectedProfile.Sniper.CenterDotColor.B);
if (!sharedProfileResp.HasValue)
/*if (!sharedProfileResp.HasValue)
{
if (ValCCAPI != null) sharedProfileResp = await ValCCAPI.ObtainSelfSaved();
}
Expand All @@ -104,7 +105,7 @@ private async void profiles_SelectionChanged(object sender, SelectionChangedEven
btnCopyShareCode.Visibility = Visibility.Collapsed;
}
}
}
}*/
Crosshair_load();
}
private void StackPanel_MouseDown(object sender, MouseButtonEventArgs e)
Expand Down
2 changes: 1 addition & 1 deletion ValorantCC/ValorantCC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<AssemblyVersion></AssemblyVersion>
<FileVersion></FileVersion>
<Version>3.0.3</Version>
<Version>3.0.4</Version>
<SignAssembly>false</SignAssembly>
</PropertyGroup>

Expand Down

0 comments on commit d7ff978

Please # to comment.