Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
224fff89
Commit
224fff89
authored
Jul 10, 2019
by
Viktor De Pasquale
Committed by
John Wu
Jul 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated object usage for module subjects
parent
22e73644
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
DownloadSubject.kt
...topjohnwu/magisk/model/entity/internal/DownloadSubject.kt
+3
-3
No files found.
app/src/main/java/com/topjohnwu/magisk/model/entity/internal/DownloadSubject.kt
View file @
224fff89
...
...
@@ -3,8 +3,8 @@ package com.topjohnwu.magisk.model.entity.internal
import
android.os.Parcelable
import
com.topjohnwu.magisk.Info
import
com.topjohnwu.magisk.model.entity.MagiskJson
import
com.topjohnwu.magisk.model.entity.Repo
import
kotlinx.android.parcel.Parcelize
import
com.topjohnwu.magisk.model.entity.Module
as
MagiskModule
sealed
class
DownloadSubject
:
Parcelable
{
...
...
@@ -13,11 +13,11 @@ sealed class DownloadSubject : Parcelable {
@Parcelize
data class
Module
(
val
module
:
MagiskModule
,
val
module
:
Repo
,
val
configuration
:
Configuration
)
:
DownloadSubject
()
{
override
val
url
:
String
get
()
=
module
.
path
override
val
url
:
String
get
()
=
module
.
zipUrl
override
val
fileName
:
String
get
()
=
"${module.name}-v${module.version}(${module.versionCode}).zip"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment