Bimba.git

ref: 9bde6ffaa4dac48b5500b3bdf529d81c4ba5c08d

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)
}