Skip to content

Commit

Permalink
fix: different values skyle 2 and 3 (#3)
Browse files Browse the repository at this point in the history
* fix: different values skyle 2 and 3

* Update positioning_repository.dart

---------

Co-authored-by: Viviane Rehor <[email protected]>
Co-authored-by: Konstantin Wachendorff <[email protected]>
  • Loading branch information
3 people authored Jun 16, 2024
1 parent 0890ab2 commit c02170f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/src/domain/repositories/positioning_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c02170f

Please sign in to comment.