mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +00:00
screen height in debug mode (desktop)
This commit is contained in:
parent
6f06bb834f
commit
2b3b7db206
1 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@ import 'package:cw_core/node.dart';
|
||||||
import 'package:cw_core/unspent_coins_info.dart';
|
import 'package:cw_core/unspent_coins_info.dart';
|
||||||
import 'package:cw_core/wallet_info.dart';
|
import 'package:cw_core/wallet_info.dart';
|
||||||
import 'package:cw_core/wallet_type.dart';
|
import 'package:cw_core/wallet_type.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:flutter_libmonero/monero/monero.dart';
|
import 'package:flutter_libmonero/monero/monero.dart';
|
||||||
|
@ -97,7 +96,7 @@ void main() async {
|
||||||
setWindowMaxSize(Size.infinite);
|
setWindowMaxSize(Size.infinite);
|
||||||
|
|
||||||
final screenHeight = screen?.frame.height;
|
final screenHeight = screen?.frame.height;
|
||||||
if (screenHeight != null && !kDebugMode) {
|
if (screenHeight != null) {
|
||||||
// starting to height be 3/4 screen height or 900, whichever is smaller
|
// starting to height be 3/4 screen height or 900, whichever is smaller
|
||||||
final height = min<double>(screenHeight * 0.75, 900);
|
final height = min<double>(screenHeight * 0.75, 900);
|
||||||
setWindowFrame(
|
setWindowFrame(
|
||||||
|
|
Loading…
Reference in a new issue