Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: different values skyle 2 and 3 #3

Merged
merged 2 commits into from
Jun 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading