Skip to content

Commit

Permalink
Fix sync icon visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Sep 14, 2023
1 parent d7ac2e4 commit c11646b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class MainBibleActivity : CustomTitlebarActivityBase() {
windowControl.windowSync.reloadAllWindows(true)
updateActions()
ABEventBus.post(ConfigurationChanged(resources.configuration))

binding.syncIcon.visibility = View.INVISIBLE
updateToolbar()
updateBottomBars()
if (!CommonUtils.isCloudSyncAvailable) {
Expand Down
8 changes: 5 additions & 3 deletions app/src/main/res/layout/main_bible_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,11 @@

<ImageView
android:id="@+id/syncIcon"
android:layout_width="15dp"
android:layout_height="15dp"
app:layout_constraintEnd_toEndOf="parent"
android:layout_width="10dp"
android:layout_height="10dp"
android:layout_marginTop="2dp"
android:layout_marginStart="2dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_backup_restore_24dp"
app:tint="?attr/toolbarTextColor"
Expand Down

0 comments on commit c11646b

Please sign in to comment.