Added Version code to debug Settings

feature/top10
Laurent 7 years ago
parent 0cb6d59dfe
commit 3eb7f1fdd3
  1. 2
      app/src/main/java/net/pokeranalytics/android/ui/fragment/SettingsFragment.kt

@ -55,7 +55,7 @@ class SettingsFragment : PokerAnalyticsFragment(), RowRepresentableDelegate, Sta
override fun stringForRow(row: RowRepresentable): String {
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
else -> ""
}

Loading…
Cancel
Save