Skip to content

Commit

Permalink
chore: flutter analyze resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
sachins-geekyants committed Jan 16, 2024
1 parent 0bb83eb commit 5a625f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/at_login_flutter/lib/services/at_login_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import 'package:at_server_status/at_server_status.dart';
import 'package:at_utils/at_utils.dart';
import 'package:crypton/crypton.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class AtLoginService {
static final AtLoginService _singleton = AtLoginService._internal();
Expand Down Expand Up @@ -144,8 +143,8 @@ class AtLoginService {
.getEncryptionPrivateKey();

var privateKey = RSAPrivateKey.fromString(encryptionPrivateKey ?? '');
var dataSignature = privateKey.createSHA256Signature(
utf8.encode(atLoginObj.challenge ?? '') as Uint8List);
var dataSignature = privateKey
.createSHA256Signature(utf8.encode(atLoginObj.challenge ?? ''));
var signature = base64Encode(dataSignature);

await setAtsign(atLoginObj.atsign);
Expand Down
3 changes: 0 additions & 3 deletions packages/at_login_flutter/lib/services/size_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class SizeConfig {
late double screenHeight;
late double blockSizeHorizontal;
late double blockSizeVertical;
double? deviceTextFactor;

late double _safeAreaHorizontal;
late double _safeAreaVertical;
Expand All @@ -29,8 +28,6 @@ class SizeConfig {
refHeight = 812;
refWidth = 375;

deviceTextFactor = _mediaQueryData.textScaleFactor;

// print("height is::: $screenHeight");

if (screenHeight < 1200) {
Expand Down

0 comments on commit 5a625f7

Please sign in to comment.