Commit f48899cb authored by Francesco Carraro's avatar Francesco Carraro
Browse files

Refactor and update various files for clarity and versioning

- LabSpectrumFileReader.cs: Modified regex in `Regex.Split` to split lines by whitespace or commas.
- Package.appxmanifest: Updated app version from `1.0.47.0` to `1.0.49.0`.
- LoginCheckViewModel.cs: Removed unnecessary `isTokenValidAsync` check.
- AlignmentHelper.cs:
  - Renamed parameters for clarity.
  - Replaced inline boundary checks with `belongsToSegment` method.
  - Updated methods to use new parameter names and method.
  - Renamed `getRightSegmentElementsXBoundaries` to `getRightSegmentBoundaries`.
  - Adjusted logic in `fixLeftSegment` and `fixRightSegment` to use inclusive range checks.
  - Updated method signatures for consistency.
parent fcdb5d79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ namespace INAF.Apps.Uwp.SLabDataManager.Helpers.FileReaders
                {
                    try
                    {
                        List<string> tmp = Regex.Split(x, @"\s+", RegexOptions.IgnoreCase).ToList();
                        List<string> tmp = Regex.Split(x, @"[\s,]+", RegexOptions.IgnoreCase).ToList();

                        int n = tmp.RemoveAll(t => string.IsNullOrEmpty(t));

+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  <Identity
    Name="INAF.Apps.Uwp.SLabDataManager"
    Publisher="CN=INAF-IAPS, O=INAF-IAPS, C=IT"
    Version="1.0.47.0" />
    Version="1.0.49.0" />

  <mp:PhoneIdentity PhoneProductId="07F38165-05DE-4ED7-8514-60D1E8CDCBFE" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

+0 −1
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ namespace INAF.Apps.Uwp.SLabDataManager.ViewModels
            {
                NavigationService.Navigate<LoginPage>();
                return;

            }

            if (!await remoteOperationsManager.isLoginValidAsync())