-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add disconnect button to Welcome Screen #6375
Add disconnect button to Welcome Screen #6375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Pururun)
android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/TunnelState.kt
line 36 at r1 (raw file):
} fun showDisconnectButton(): Boolean =
The only difference from isSecured
seem to be actionAfterDisconnect
, right? Are we sure these two functions should be the same (in other words skip this one)?
Also, I'm not sure this function in it's current state belongs in the model since the usage is UI specific (in comparison to the other convenience functions).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @albin-mullvad)
android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/TunnelState.kt
line 36 at r1 (raw file):
Previously, albin-mullvad wrote…
The only difference from
isSecured
seem to beactionAfterDisconnect
, right? Are we sure these two functions should be the same (in other words skip this one)?Also, I'm not sure this function in it's current state belongs in the model since the usage is UI specific (in comparison to the other convenience functions).
I checked the desktop app and they do not seems to care about actionAfterDisconnect
so I will just use isSecured
instead.
786bcd1
to
6dfa486
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 1 of 6 files reviewed, 1 unresolved discussion (waiting on @albin-mullvad)
android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/TunnelState.kt
line 36 at r1 (raw file):
Previously, Pururun (Jonatan Rhodin) wrote…
I checked the desktop app and they do not seems to care about
actionAfterDisconnect
so I will just useisSecured
instead.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 5 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved
android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/TunnelState.kt
line 36 at r1 (raw file):
Previously, Pururun (Jonatan Rhodin) wrote…
Done
Great! 👍
6dfa486
to
00511a0
Compare
00511a0
to
15d3767
Compare
This change is