|
|
|
@ -55,7 +55,7 @@ class SettingsFragment : PokerAnalyticsFragment(), RowRepresentableDelegate, Sta |
|
|
|
|
|
|
|
|
|
|
|
override fun stringForRow(row: RowRepresentable): String { |
|
|
|
override fun stringForRow(row: RowRepresentable): String { |
|
|
|
return when (row) { |
|
|
|
return when (row) { |
|
|
|
SettingRow.VERSION -> BuildConfig.VERSION_NAME + if (BuildConfig.DEBUG) " DEBUG" else "" |
|
|
|
SettingRow.VERSION -> BuildConfig.VERSION_NAME + if (BuildConfig.DEBUG) " (${BuildConfig.VERSION_CODE}) DEBUG" else "" |
|
|
|
SettingRow.CURRENCY -> Currency.getInstance(Preferences.getCurrencyLocale(this.parentActivity)).symbol |
|
|
|
SettingRow.CURRENCY -> Currency.getInstance(Preferences.getCurrencyLocale(this.parentActivity)).symbol |
|
|
|
else -> "" |
|
|
|
else -> "" |
|
|
|
} |
|
|
|
} |
|
|
|
|