feat: swipeable media pager, favorite artists, optimized video preview, Gitea updates and v2.0.2 release
This commit is contained in:
@@ -9,6 +9,7 @@ class AppUpdateInfo {
|
||||
this.apkUrl,
|
||||
this.windowsInstallerUrl,
|
||||
this.portableZipUrl,
|
||||
this.linuxTarGzUrl,
|
||||
});
|
||||
|
||||
final String version;
|
||||
@@ -20,7 +21,11 @@ class AppUpdateInfo {
|
||||
final String? apkUrl;
|
||||
final String? windowsInstallerUrl;
|
||||
final String? portableZipUrl;
|
||||
final String? linuxTarGzUrl;
|
||||
|
||||
bool get hasAssets =>
|
||||
apkUrl != null || windowsInstallerUrl != null || portableZipUrl != null;
|
||||
apkUrl != null ||
|
||||
windowsInstallerUrl != null ||
|
||||
portableZipUrl != null ||
|
||||
linuxTarGzUrl != null;
|
||||
}
|
||||
|
||||
@@ -114,3 +114,14 @@ class Post {
|
||||
const {},
|
||||
);
|
||||
}
|
||||
|
||||
class PostNavigationContext {
|
||||
const PostNavigationContext({
|
||||
required this.currentPost,
|
||||
required this.posts,
|
||||
});
|
||||
|
||||
final Post currentPost;
|
||||
final List<Post> posts;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user