mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 18:08:26 +00:00
Merge branch 'dev' of https://github.com/oxen-io/session-android into auto-play-voice-message
This commit is contained in:
commit
b559f19ce5
@ -90,6 +90,8 @@ class SettingsActivity : PassphraseRequiredActionBarActivity() {
|
|||||||
helpTranslateButton.setOnClickListener { helpTranslate() }
|
helpTranslateButton.setOnClickListener { helpTranslate() }
|
||||||
seedButton.setOnClickListener { showSeed() }
|
seedButton.setOnClickListener { showSeed() }
|
||||||
clearAllDataButton.setOnClickListener { clearAllData() }
|
clearAllDataButton.setOnClickListener { clearAllData() }
|
||||||
|
val isLightMode = UiModeUtilities.isDayUiMode(this)
|
||||||
|
oxenLogoImageView.setImageResource(if (isLightMode) R.drawable.oxen_light_mode else R.drawable.oxen_dark_mode)
|
||||||
versionTextView.text = String.format(getString(R.string.version_s), "${BuildConfig.VERSION_NAME} (${BuildConfig.VERSION_CODE})")
|
versionTextView.text = String.format(getString(R.string.version_s), "${BuildConfig.VERSION_NAME} (${BuildConfig.VERSION_CODE})")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
app/src/main/res/drawable-xxxhdpi/oxen_dark_mode.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/oxen_dark_mode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/oxen_light_mode.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/oxen_light_mode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -213,11 +213,18 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/activity_settings_help_translate_session" />
|
android:text="@string/activity_settings_help_translate_session" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/oxenLogoImageView"
|
||||||
|
android:layout_width="80dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
android:src="@drawable/oxen_light_mode" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/versionTextView"
|
android:id="@+id/versionTextView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/medium_spacing"
|
android:layout_marginTop="4dp"
|
||||||
android:layout_marginBottom="@dimen/medium_spacing"
|
android:layout_marginBottom="@dimen/medium_spacing"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/version_s"
|
android:text="@string/version_s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user