From c02170fd115991e09343432325bb9b85f82fd2dd Mon Sep 17 00:00:00 2001 From: badwolf4815162342 Date: Mon, 17 Jun 2024 00:59:40 +0200 Subject: [PATCH] fix: different values skyle 2 and 3 (#3) * fix: different values skyle 2 and 3 * Update positioning_repository.dart --------- Co-authored-by: Viviane Rehor Co-authored-by: Konstantin Wachendorff <64533197+krjw-eyev@users.noreply.github.com> --- lib/src/domain/repositories/positioning_repository.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/src/domain/repositories/positioning_repository.dart b/lib/src/domain/repositories/positioning_repository.dart index 1cadc94..0625b00 100644 --- a/lib/src/domain/repositories/positioning_repository.dart +++ b/lib/src/domain/repositories/positioning_repository.dart @@ -15,11 +15,15 @@ import '../../data/models/positioning/positioning_quality.dart'; /// Interface for receiving the positioning stream. abstract class PositioningRepository { - static double width = 1280; - static double height = 800; static double maxDistance = UniversalPlatform.isDesktop ? -15 : 0; static double minDistance = UniversalPlatform.isDesktop ? 35 : 40; + static int closeUpperBoundaryiPad = 450; + static int normalUpperBoundaryiPad = 650; + + static int closeUpperBoundaryDesktop = 500; + static int normalUpperBoundaryDesktop = 700; + /// Starts the positioning stream which lives until a disconnect happens. /// /// Returns a [Stream] with either a [DataSuccess] or a [DataFailed] message indicating the stream failed.