Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Frank Tobin
Nebulo
Commits
e4b8bb2d
Commit
e4b8bb2d
authored
Dec 25, 2020
by
Daniel Wolf
Browse files
Update navigation drawer library
parent
2d80a47e
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/build.gradle
View file @
e4b8bb2d
...
...
@@ -147,9 +147,9 @@ dependencies {
implementation
'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2'
implementation
'com.frostnerd.utilskt:lifecycle:1.2.
0
'
implementation
'com.frostnerd.utilskt:lifecycle:1.2.
1
'
implementation
'com.frostnerd.utilskt:preferences:1.5.30'
// https://git.frostnerd.com/AndroidUtils/preferenceskt
implementation
'com.frostnerd.utilskt:navigationdraweractivity:1.4.
0
'
// https://git.frostnerd.com/AndroidUtils/navigationdraweractivity
implementation
'com.frostnerd.utilskt:navigationdraweractivity:1.4.
1
'
// https://git.frostnerd.com/AndroidUtils/navigationdraweractivity
implementation
'com.frostnerd.utilskt:encrypteddnstunnelproxy:2.1.20'
// https://git.frostnerd.com/AndroidUtils/encrypteddnstunnelproxy
implementation
'com.frostnerd.utilskt:general:1.0.25'
// https://git.frostnerd.com/AndroidUtils/generalkt
implementation
'com.frostnerd.utilskt:adapters:1.2.0'
// https://git.frostnerd.com/AndroidUtils/Adapters
...
...
app/src/main/java/com/frostnerd/smokescreen/activity/MainActivity.kt
View file @
e4b8bb2d
...
...
@@ -353,7 +353,7 @@ class MainActivity : NavigationDrawerActivity() {
}
override
fun
onBackPressed
()
{
val
fragment
=
currentFragment
val
fragment
=
supportFragmentManager
.
findFragmentById
(
R
.
id
.
drawerContent
)
if
(
fragment
!=
null
&&
fragment
is
BackpressFragment
)
{
if
(!
fragment
.
onBackPressed
())
super
.
onBackPressed
()
}
else
{
...
...
Write
Preview
Supports
Markdown
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