RX-статистика включена по умолчанию
This commit is contained in:
@@ -173,7 +173,7 @@ object Prefs {
|
|||||||
|
|
||||||
/** Показывать строку статистики приёма (потери/джиттер) на главном экране. */
|
/** Показывать строку статистики приёма (потери/джиттер) на главном экране. */
|
||||||
fun rxStatsEnabled(context: Context): Boolean =
|
fun rxStatsEnabled(context: Context): Boolean =
|
||||||
sp(context).getBoolean("rx_stats_enabled", false)
|
sp(context).getBoolean("rx_stats_enabled", true)
|
||||||
|
|
||||||
fun setRxStatsEnabled(context: Context, enabled: Boolean) {
|
fun setRxStatsEnabled(context: Context, enabled: Boolean) {
|
||||||
sp(context).edit().putBoolean("rx_stats_enabled", enabled).apply()
|
sp(context).edit().putBoolean("rx_stats_enabled", enabled).apply()
|
||||||
|
|||||||
Reference in New Issue
Block a user