mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-24 07:46:06 +00:00
Added handlers
This commit is contained in:
parent
7ddc08d109
commit
e10b53338b
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
import 'package:sentry_flutter/sentry_flutter.dart';
|
||||
|
||||
bool compareVersions({
|
||||
required String currentVersion,
|
||||
required String newVersion
|
||||
|
@ -19,6 +21,7 @@ bool compareVersions({
|
|||
return false;
|
||||
}
|
||||
} catch (e) {
|
||||
Sentry.captureException(e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -50,6 +53,7 @@ bool compareBetaVersions({
|
|||
return false;
|
||||
}
|
||||
} catch (e) {
|
||||
Sentry.captureException(e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -116,6 +120,7 @@ bool serverVersionIsAhead({
|
|||
}
|
||||
}
|
||||
} catch (e) {
|
||||
Sentry.captureException(e);
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue