Skip to content

Commit

Permalink
Use established constants
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Jun 6, 2024
1 parent 86b1307 commit 7a8a37d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ private void updateText()
{
return bank switch
{
"normal" => "N",
"soft" => "S",
"drum" => "D",
HitSampleInfo.BANK_NORMAL => @"N",
HitSampleInfo.BANK_SOFT => @"S",
HitSampleInfo.BANK_DRUM => @"D",
_ => bank
};
}
Expand Down

0 comments on commit 7a8a37d

Please sign in to comment.