Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49bd77ba authored by Guillaume Jacquart's avatar Guillaume Jacquart
Browse files

feat:3467: Activate ntfy by default, use push.murena.com as base address.

parent 3fb7e642
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ class SubscriberService : Service() {
        Log.d(TAG, "Subscriber service has been destroyed")
        stopService()
        val preferenceKey = getString(R.string.eos_preference_key_is_enabled)
        if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean(preferenceKey, false)) {
        if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean(preferenceKey, true)) {
             sendBroadcast(Intent(this, AutoRestartReceiver::class.java))
        }

+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ class SubscriberServiceManager(private val context: Context) {
                val app = context.applicationContext as Application
                val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(app)
                val preferenceKey = context.getString(R.string.eos_preference_key_is_enabled)
                val action = if (sharedPreferences.getBoolean(preferenceKey, false)) {
                val action = if (sharedPreferences.getBoolean(preferenceKey, true)) {
                    SubscriberService.Action.START
                } else {
                    SubscriberService.Action.STOP
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@

    <!-- Main app constants -->
    <string name="app_name" translatable="false">ntfy</string>
    <string name="app_base_url" translatable="false">https://ntfy.sh</string> <!-- If changed, you must also change google-services.json! -->
    <string name="app_base_url" translatable="false">https://push.murena.com</string> <!-- If changed, you must also change google-services.json! -->

    <!-- Main activity -->
    <string name="main_menu_report_bug_url" translatable="false">https://github.com/binwiederhier/ntfy/issues</string>
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
    <SwitchPreferenceCompat
        app:icon="@drawable/ic_notification"
        app:key="@string/eos_preference_key_is_enabled"
        app:defaultValue="false"
        app:defaultValue="true"
        app:title="@string/eos_settings_enable_title"
        app:summary="@string/eos_settings_enable_description" />

+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ allprojects {
        google()
        mavenCentral()
        maven { url 'https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven'}
        maven { url "https://jitpack.io" } // For StfalconImageViewer
        maven { url "https://maven.scijava.org/content/repositories/public/" } // For StfalconImageViewer
    }
}