Skip to content

Commit

Permalink
(all) Added support for Node 11
Browse files Browse the repository at this point in the history
  • Loading branch information
jedi1150 committed Dec 17, 2024
1 parent fc30eb7 commit 84a6938
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ class LoginActivity : BaseActivity<LoginViewModel>(LoginViewModel::class.java) {
7 -> model.changeNode(Node.NODE_8)
8 -> model.changeNode(Node.NODE_9)
9 -> model.changeNode(Node.NODE_10)
10 -> model.changeNode(Node.NODE_11)
}
}

Expand All @@ -123,6 +124,7 @@ class LoginActivity : BaseActivity<LoginViewModel>(LoginViewModel::class.java) {
Node.NODE_8 -> 7
Node.NODE_9 -> 8
Node.NODE_10 -> 9
Node.NODE_11 -> 10
null -> null
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class AuthService(
7L -> Node.NODE_8
8L -> Node.NODE_9
9L -> Node.NODE_10
10L -> Node.NODE_11
else -> null
}
private set(value) {
Expand All @@ -67,6 +68,7 @@ class AuthService(
Node.NODE_8 -> 7L
Node.NODE_9 -> 8L
Node.NODE_10 -> 9L
Node.NODE_11 -> 10L
null -> null
}.let { node ->
if (node != null) {
Expand Down
1 change: 1 addition & 0 deletions shared/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<item>Node 8</item>
<item>Node 9</item>
<item>Node 10</item>
<item>Node 11</item>
</string-array>

<string name="logging_in">Logging in…</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class LoginActivity : BaseActivity<LoginViewModel>(LoginViewModel::class.java) {
7 -> model.changeNode(Node.NODE_8)
8 -> model.changeNode(Node.NODE_9)
9 -> model.changeNode(Node.NODE_10)
10 -> model.changeNode(Node.NODE_11)
}
}

Expand All @@ -125,6 +126,7 @@ class LoginActivity : BaseActivity<LoginViewModel>(LoginViewModel::class.java) {
Node.NODE_8 -> 7
Node.NODE_9 -> 8
Node.NODE_10 -> 9
Node.NODE_11 -> 10
null -> null
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class LoginActivity : BaseActivity<LoginViewModel>(LoginViewModel::class.java) {
7 -> model.changeNode(Node.NODE_8)
8 -> model.changeNode(Node.NODE_9)
9 -> model.changeNode(Node.NODE_10)
10 -> model.changeNode(Node.NODE_11)
}
}

Expand All @@ -124,6 +125,7 @@ class LoginActivity : BaseActivity<LoginViewModel>(LoginViewModel::class.java) {
Node.NODE_8 -> 7
Node.NODE_9 -> 8
Node.NODE_10 -> 9
Node.NODE_11 -> 10
null -> null
}

Expand Down

0 comments on commit 84a6938

Please sign in to comment.