diff --git a/GSCFieldApp/Dictionaries/DatabaseLiterals.cs b/GSCFieldApp/Dictionaries/DatabaseLiterals.cs index 01d8434..72a6485 100644 --- a/GSCFieldApp/Dictionaries/DatabaseLiterals.cs +++ b/GSCFieldApp/Dictionaries/DatabaseLiterals.cs @@ -473,6 +473,7 @@ public enum TableNames { meta, location, station, earthmat, sample, mineralizati public const string KeywordColourGeneric = "COLOUR_GENERIC"; //Name of the generic colour picklist within M_DICTIONNARY_MANAGER public const string KeywordColourIntensity = "COLOUR_INTENSITY"; //Name of the intensity colour picklist within M_DICTIONNARY_MANAGER public const string KeywordColourQualifier = "COLOUR_QUALIFIER"; //Name of the qualifier colour picklist within M_DICTIONNARY_MANAGER + public const string KeywordLinework = "line"; //Used for picklist editor #endregion #region Database guids diff --git a/GSCFieldApp/ViewModel/PicklistViewModel.cs b/GSCFieldApp/ViewModel/PicklistViewModel.cs index 5feb49b..f236cb1 100644 --- a/GSCFieldApp/ViewModel/PicklistViewModel.cs +++ b/GSCFieldApp/ViewModel/PicklistViewModel.cs @@ -359,7 +359,10 @@ private async Task FillTablePicklist(SQLiteAsyncConnection inConnectio { voc.Description = LocalizationResourceManager["FielNotesStructureHeader"].ToString(); } - + if (vcms.ThemeAssignTable.ToLower().Contains(KeywordLinework)) + { + voc.Description = LocalizationResourceManager["FielNotesLineworkHeader"].ToString(); + } //Prevent bs from beind added. if (voc.Code != null && voc.Code != string.Empty) { diff --git a/GSCFieldApp/Views/PicklistPage.xaml b/GSCFieldApp/Views/PicklistPage.xaml index 174a88e..4cb8b2c 100644 --- a/GSCFieldApp/Views/PicklistPage.xaml +++ b/GSCFieldApp/Views/PicklistPage.xaml @@ -61,11 +61,11 @@ - + - +