Add Gitea update notifications

This commit is contained in:
2026-05-24 13:28:22 +03:00
parent ec29ed21d2
commit 73a991e3a8
9 changed files with 365 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
class AppUpdateInfo {
const AppUpdateInfo({
required this.version,
required this.tagName,
required this.name,
required this.body,
required this.htmlUrl,
required this.publishedAt,
this.apkUrl,
this.windowsInstallerUrl,
});
final String version;
final String tagName;
final String name;
final String body;
final String htmlUrl;
final DateTime? publishedAt;
final String? apkUrl;
final String? windowsInstallerUrl;
bool get hasAssets => apkUrl != null || windowsInstallerUrl != null;
}