mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-12 00:38:44 +00:00
remove Normalizer from clipboard and PaperCard artist.
This commit is contained in:
@@ -250,7 +250,7 @@ public class PaperCard implements Comparable<IPaperCard>, InventoryItemFromSet,
|
|||||||
this.artIndex = Math.max(artIndex, IPaperCard.DEFAULT_ART_INDEX);
|
this.artIndex = Math.max(artIndex, IPaperCard.DEFAULT_ART_INDEX);
|
||||||
this.foil = foil;
|
this.foil = foil;
|
||||||
this.rarity = rarity;
|
this.rarity = rarity;
|
||||||
this.artist = TextUtil.normalizeText(artist);
|
this.artist = artist;
|
||||||
this.collectorNumber = (collectorNumber != null && !collectorNumber.isEmpty()) ? collectorNumber : IPaperCard.NO_COLLECTOR_NUMBER;
|
this.collectorNumber = (collectorNumber != null && !collectorNumber.isEmpty()) ? collectorNumber : IPaperCard.NO_COLLECTOR_NUMBER;
|
||||||
// If the user changes the language this will make cards sort by the old language until they restart the game.
|
// If the user changes the language this will make cards sort by the old language until they restart the game.
|
||||||
// This is a good tradeoff
|
// This is a good tradeoff
|
||||||
|
|||||||
@@ -571,7 +571,7 @@ public class Main extends AndroidApplication {
|
|||||||
if (clipData.getItemCount() > 0) {
|
if (clipData.getItemCount() > 0) {
|
||||||
try {
|
try {
|
||||||
String text = clipData.getItemAt(0).coerceToText(getContext()).toString();
|
String text = clipData.getItemAt(0).coerceToText(getContext()).toString();
|
||||||
return Normalizer.normalize(text, Normalizer.Form.NFD);
|
return text;//Normalizer.normalize(text, Normalizer.Form.NFD);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user