mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-24 03:42:15 +00:00
Add: Launching Prefs from Main
This commit is contained in:
parent
08badc9327
commit
1798c42d38
@ -80,6 +80,12 @@
|
||||
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".ui.activities.PrefsActivityX"
|
||||
android:exported="true"
|
||||
android:launchMode="singleTask"
|
||||
android:windowSoftInputMode="adjustResize" />
|
||||
|
||||
<service android:name=".service.SyncService" />
|
||||
|
||||
<service
|
||||
|
@ -216,9 +216,9 @@ class MainActivityX : AppCompatActivity() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
private fun navigateSettings() {
|
||||
// TODO
|
||||
}
|
||||
private fun navigateSettings() = startActivity(
|
||||
Intent(applicationContext, PrefsActivityX::class.java)
|
||||
)
|
||||
|
||||
private fun updateUpdateNotificationBlocker(activeSource: Source) {
|
||||
val blockerFragment = if (activeSource == Source.UPDATES) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user