Revert "version bump to 3.13.9, auth working on mac (#1367)" (#1397)

This reverts commit e6b4b08c24.
This commit is contained in:
Omar Hatem
2024-04-18 20:10:58 +02:00
committed by GitHub
parent e48962361a
commit 4ed4659f9e
21 changed files with 406 additions and 567 deletions
@@ -1,14 +1,8 @@
import 'package:cake_wallet/core/seed_validator.dart';
import 'package:cw_core/wallet_type.dart';
import 'package:flutter/material.dart';
extension Compare<T> on Comparable<T> {
bool operator <=(T other) => compareTo(other) <= 0;
bool operator >=(T other) => compareTo(other) >= 0;
bool operator <(T other) => compareTo(other) < 0;
bool operator >(T other) => compareTo(other) > 0;
}
class Annotation implements Comparable<Annotation> {
class Annotation extends Comparable<Annotation> {
Annotation({required this.range, required this.style});
final TextRange range;
@@ -18,7 +12,7 @@ class Annotation implements Comparable<Annotation> {
int compareTo(Annotation other) => range.start.compareTo(other.range.start);
}
class TextAnnotation implements Comparable<TextAnnotation> {
class TextAnnotation extends Comparable<TextAnnotation> {
TextAnnotation({required this.text, required this.style});
final TextStyle style;