ref: 01a422d3e27305179c52a8853a10f38054593611
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) } |