Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
fix: not staring with repo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricked-dev committed Feb 24, 2022
1 parent 2f2410f commit 18a8da1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 23 deletions.
5 changes: 2 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// TMOD Installer (c) by tricked
//
//
// TMOD Installer is licensed under a
// Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
//
//
// You should have received a copy of the license along with this
// work. If not, see <http://creativecommons.org/licenses/by-nc-nd/3.0/>.

Expand Down Expand Up @@ -165,7 +165,6 @@ class _TModInstallerPageState extends State<TModInstallerPage> {
downloads: [
DownloadMod(
filename: "INVALID",
id: "INVALID",
mcversion: "0.0.0",
version: "0.0.0",
hash: "sha1;null",
Expand Down
19 changes: 9 additions & 10 deletions lib/src/models/models.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// TMOD Installer (c) by tricked
//
//
// TMOD Installer is licensed under a
// Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
//
//
// You should have received a copy of the license along with this
// work. If not, see <http://creativecommons.org/licenses/by-nc-nd/3.0/>.

Expand All @@ -19,14 +19,13 @@ class DownloadMod {
final String hash;
final String url;
final String filename;
final String id;
DownloadMod(
{required this.mcversion,
required this.version,
required this.hash,
required this.url,
required this.filename,
required this.id});
DownloadMod({
required this.mcversion,
required this.version,
required this.hash,
required this.url,
required this.filename,
});
factory DownloadMod.fromJson(Map<String, dynamic> json) =>
_$DownloadModFromJson(json);
Map<String, dynamic> toJson() => _$DownloadModToJson(this);
Expand Down
10 changes: 0 additions & 10 deletions lib/src/models/models.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18a8da1

Please sign in to comment.