mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-05 20:48:24 +00:00
Nullable identifier fixes
This commit is contained in:
+2
-2
@@ -188,7 +188,7 @@ class App extends BaseApp with DataModelMixin<App> {
|
||||
);
|
||||
|
||||
final i = await packageManager.getPackageInfo(
|
||||
packageName: identifier, flags: flags);
|
||||
packageName: identifier!, flags: flags);
|
||||
if (i == null) {
|
||||
return null;
|
||||
}
|
||||
@@ -284,7 +284,7 @@ mixin AppAdapter on Adapter<App> {
|
||||
|
||||
if (m != null) {
|
||||
for (final app in apps) {
|
||||
queriedAtMap[app.identifier] = m;
|
||||
queriedAtMap[app.identifier!] = m;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -21,7 +21,7 @@ class AppCurationSet extends BaseAppCurationSet
|
||||
|
||||
Map<String, dynamic> toJson() => super.toMap();
|
||||
|
||||
String get name => content.isNotEmpty ? content : identifier;
|
||||
String get name => content.isNotEmpty ? content : identifier!;
|
||||
}
|
||||
|
||||
mixin AppCurationSetAdapter on Adapter<AppCurationSet> {
|
||||
|
||||
@@ -28,7 +28,7 @@ class ReleaseCard extends StatelessWidget {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(release.version,
|
||||
Text(release.version!,
|
||||
style: TextStyle(fontSize: 26, fontWeight: FontWeight.bold)),
|
||||
Gap(10),
|
||||
release.content.length < 3000
|
||||
|
||||
+4
-6
@@ -916,12 +916,10 @@ packages:
|
||||
purplebase:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "0.2.0"
|
||||
resolved-ref: "9cd05ac29caaca742a16dc64608cae9751aa0eb1"
|
||||
url: "https://github.com/purplebase/purplebase"
|
||||
source: git
|
||||
version: "0.1.1"
|
||||
path: "../purplebase"
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.2.0"
|
||||
quiver:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
+4
-4
@@ -52,10 +52,10 @@ dependencies:
|
||||
|
||||
dependency_overrides:
|
||||
purplebase:
|
||||
# path: ../purplebase
|
||||
git:
|
||||
url: https://github.com/purplebase/purplebase
|
||||
ref: 0.2.0
|
||||
path: ../purplebase
|
||||
# git:
|
||||
# url: https://github.com/purplebase/purplebase
|
||||
# ref: 0.2.0
|
||||
flutter_data:
|
||||
git:
|
||||
url: https://github.com/zapstore/flutter_data
|
||||
|
||||
Reference in New Issue
Block a user