diff --git a/frontend/appflowy_flutter/lib/plugins/database/application/field/type_option/number_format_bloc.dart b/frontend/appflowy_flutter/lib/plugins/database/application/field/type_option/number_format_bloc.dart index c4c31b880e6b5..f7c21cdfa7038 100644 --- a/frontend/appflowy_flutter/lib/plugins/database/application/field/type_option/number_format_bloc.dart +++ b/frontend/appflowy_flutter/lib/plugins/database/application/field/type_option/number_format_bloc.dart @@ -95,6 +95,8 @@ extension NumberFormatExtension on NumberFormatPB { return "Percent"; case NumberFormatPB.PhilippinePeso: return "Philippine peso"; + case NumberFormatPB.PLN: + return "Polish złoty"; case NumberFormatPB.Pound: return "Pound"; case NumberFormatPB.Rand: @@ -174,6 +176,8 @@ extension NumberFormatExtension on NumberFormatPB { return "%"; case NumberFormatPB.PhilippinePeso: return "₱"; + case NumberFormatPB.PLN: + return "zł"; case NumberFormatPB.Pound: return "£"; case NumberFormatPB.Rand: diff --git a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/number_entities.rs b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/number_entities.rs index bb34178cd7844..4c506b23768a7 100644 --- a/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/number_entities.rs +++ b/frontend/rust-lib/flowy-database2/src/entities/type_option_entities/number_entities.rs @@ -78,6 +78,7 @@ pub enum NumberFormatPB { ArgentinePeso = 34, UruguayanPeso = 35, Percent = 36, + PLN = 37, } impl From for NumberFormatPB { @@ -119,6 +120,7 @@ impl From for NumberFormatPB { NumberFormat::ArgentinePeso => NumberFormatPB::ArgentinePeso, NumberFormat::UruguayanPeso => NumberFormatPB::UruguayanPeso, NumberFormat::Percent => NumberFormatPB::Percent, + NumberFormat::PLN => NumberFormatPB::PLN, } } } @@ -162,6 +164,7 @@ impl From for NumberFormat { NumberFormatPB::ArgentinePeso => NumberFormat::ArgentinePeso, NumberFormatPB::UruguayanPeso => NumberFormat::UruguayanPeso, NumberFormatPB::Percent => NumberFormat::Percent, + NumberFormatPB::PLN => NumberFormat::PLN, } } }