File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/java/to/bitkit/data Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import androidx.datastore.dataStore
66import dagger.hilt.android.qualifiers.ApplicationContext
77import kotlinx.coroutines.flow.Flow
88import kotlinx.serialization.Serializable
9+ import org.lightningdevkit.ldknode.Network
910import to.bitkit.data.serializers.SettingsSerializer
1011import to.bitkit.env.Env
1112import to.bitkit.models.BitcoinDisplayUnit
@@ -88,7 +89,7 @@ data class SettingsData(
8889 val isBiometricEnabled : Boolean = false ,
8990 val isPinOnIdleEnabled : Boolean = false ,
9091 val isPinForPaymentsEnabled : Boolean = false ,
91- val isDevModeEnabled : Boolean = false ,
92+ val isDevModeEnabled : Boolean = Env .network != Network . BITCOIN ,
9293 val showWidgets : Boolean = true ,
9394 val showWidgetTitles : Boolean = false ,
9495 val lastUsedTags : List <String > = emptyList(),
You can’t perform that action at this time.
0 commit comments