mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-22 03:05:11 +00:00
fixed toolbar menu
This commit is contained in:
parent
e7d1cc5279
commit
0293122604
2 changed files with 7 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
|||
package com.vanced.manager.ui.fragments
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.Menu
|
||||
import android.view.MenuInflater
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.preference.PreferenceFragmentCompat
|
||||
import androidx.preference.SwitchPreference
|
||||
|
@ -34,9 +32,4 @@ class DevSettingsFragment: PreferenceFragmentCompat() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||
inflater.inflate(R.menu.dev_settings_menu, menu)
|
||||
super .onCreateOptionsMenu(menu, inflater)
|
||||
}
|
||||
}
|
|
@ -1,6 +1,8 @@
|
|||
package com.vanced.manager.ui.fragments
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.Menu
|
||||
import android.view.MenuInflater
|
||||
import androidx.preference.PreferenceFragmentCompat
|
||||
import com.vanced.manager.R
|
||||
|
||||
|
@ -11,4 +13,9 @@ class SecretSettingsFragment : PreferenceFragmentCompat() {
|
|||
activity?.title = "Secret Settings"
|
||||
|
||||
}
|
||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||
inflater.inflate(R.menu.dev_settings_menu, menu)
|
||||
super .onCreateOptionsMenu(menu, inflater)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue