mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
beta-24
This commit is contained in:
parent
dc4a9d4cdd
commit
5d9268653c
3 changed files with 10 additions and 4 deletions
|
@ -9,8 +9,8 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 31
|
targetSdk 31
|
||||||
versionCode 386
|
versionCode 387
|
||||||
versionName "3.0.0-beta-23"
|
versionName "3.0.0-beta-24"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
|
|
|
@ -201,7 +201,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
|
||||||
Cyanea.getInstance().edit().apply().recreate(BaseMainActivity.this);
|
Cyanea.getInstance().edit().apply().recreate(BaseMainActivity.this);
|
||||||
} else if (b.getBoolean(Helper.RECEIVE_NEW_MESSAGE, false)) {
|
} else if (b.getBoolean(Helper.RECEIVE_NEW_MESSAGE, false)) {
|
||||||
Status statusSent = (Status) b.getSerializable(Helper.RECEIVE_STATUS_ACTION);
|
Status statusSent = (Status) b.getSerializable(Helper.RECEIVE_STATUS_ACTION);
|
||||||
Snackbar.make(binding.getRoot(), getString(R.string.message_has_been_sent), Snackbar.LENGTH_LONG)
|
Snackbar.make(binding.displaySnackBar, getString(R.string.message_has_been_sent), Snackbar.LENGTH_LONG)
|
||||||
.setAction(getString(R.string.display), view -> {
|
.setAction(getString(R.string.display), view -> {
|
||||||
Intent intentContext = new Intent(BaseMainActivity.this, ContextActivity.class);
|
Intent intentContext = new Intent(BaseMainActivity.this, ContextActivity.class);
|
||||||
intentContext.putExtra(Helper.ARG_STATUS, statusSent);
|
intentContext.putExtra(Helper.ARG_STATUS, statusSent);
|
||||||
|
|
|
@ -116,9 +116,15 @@
|
||||||
app:layout_constraintStart_toStartOf="parent" />
|
app:layout_constraintStart_toStartOf="parent" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||||
|
android:id="@+id/displaySnackBar"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentStart="true"
|
||||||
|
android:layout_gravity="bottom"
|
||||||
|
android:layout_marginBottom="?actionBarSize"></androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||||
|
|
||||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||||
|
|
||||||
<com.google.android.material.navigation.NavigationView
|
<com.google.android.material.navigation.NavigationView
|
||||||
android:id="@+id/nav_view"
|
android:id="@+id/nav_view"
|
||||||
app:itemIconTint="?menuIconColor"
|
app:itemIconTint="?menuIconColor"
|
||||||
|
|
Loading…
Reference in a new issue