Bimba.git

ref: 1abb86a407bb358373b4e47b840bc8c5435fa710

app/src/main/java/xyz/apiote/bimba/czwek/api/transitousSettings.kt


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
// SPDX-FileCopyrightText: Adam Evyčędo
//
// SPDX-License-Identifier: AGPL-3.0-or-later

package xyz.apiote.bimba.czwek.api

import android.content.Context
import androidx.preference.PreferenceManager

fun isTransitousEnabled(context: Context): Boolean {
	return PreferenceManager.getDefaultSharedPreferences(context).getBoolean("transitous_enabled", false)
}