Skip to content

Commit

Permalink
fix goal edit padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Razeeman committed Aug 27, 2024
1 parent 38028e8 commit 6860b1b
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import com.example.util.simpletimetracker.core.extension.allowDiskWrite
import com.example.util.simpletimetracker.core.manager.ThemeManager
import com.example.util.simpletimetracker.core.provider.ContextProvider
import com.example.util.simpletimetracker.core.utils.applyStatusBarInsets
import com.example.util.simpletimetracker.core.utils.applySystemBarInsets

abstract class BaseActivity<T : ViewBinding> : AppCompatActivity() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import com.example.util.simpletimetracker.feature_base_adapter.empty.EmptyViewDa
import com.example.util.simpletimetracker.feature_base_adapter.hint.HintViewData
import com.example.util.simpletimetracker.feature_base_adapter.hintBig.HintBigViewData
import com.example.util.simpletimetracker.feature_views.viewData.RecordTypeIcon
import java.util.SortedMap
import javax.inject.Inject

class CategoryViewDataMapper @Inject constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.example.util.simpletimetracker.domain.interactor

import com.example.util.simpletimetracker.domain.model.CardOrder
import com.example.util.simpletimetracker.domain.model.RecordType
import com.example.util.simpletimetracker.domain.repo.ActivityFilterRepo
import com.example.util.simpletimetracker.domain.repo.RecordRepo
import com.example.util.simpletimetracker.domain.repo.RecordTagRepo
import com.example.util.simpletimetracker.domain.repo.RecordToRecordTagRepo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class ChangeRecordTypeViewModel @Inject constructor(
name = name,
icon = iconSelectionViewModelDelegateImpl.newIcon,
color = colorSelectionViewModelDelegateImpl.newColor,
instant = newIsInstant
instant = newIsInstant,
)

return recordTypeInteractor.add(recordType)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
android:layout_width="0dp"
android:layout_height="@dimen/input_field_height"
android:layout_marginTop="2dp"
android:layout_marginEnd="@dimen/input_field_margin"
android:layout_marginEnd="@dimen/edit_screen_field_margin_horizontal"
android:visibility="invisible"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/fieldRecordTypeGoalType"
Expand Down Expand Up @@ -131,7 +131,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="2dp"
android:layout_marginEnd="@dimen/edit_screen_field_margin_horizontal"
android:layout_marginEnd="8dp"
android:layout_marginBottom="3dp"
android:visibility="invisible"
app:layout_constraintBottom_toBottomOf="parent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class WidgetQuickSettingsConfigureActivity : BaseActivity<Binding>() {
setResult(RESULT_CANCELED)
}

override fun initUx() = with(binding){
override fun initUx() = with(binding) {
layoutWidgetQuickSettingsAllowMultitasking.setOnClick(viewModel::onAllowMultitaskingClicked)
layoutWidgetQuickSettingsShowTagSelection.setOnClick(viewModel::onShowRecordTagSelectionClicked)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import com.example.util.simpletimetracker.core.dialog.OnTagSelectedListener
import com.example.util.simpletimetracker.core.manager.ThemeManager
import com.example.util.simpletimetracker.core.provider.ContextProvider
import com.example.util.simpletimetracker.core.utils.activityArgumentDelegate
import com.example.util.simpletimetracker.core.utils.applyNavBarInsets
import com.example.util.simpletimetracker.feature_widget.R
import com.example.util.simpletimetracker.navigation.ScreenFactory
import com.example.util.simpletimetracker.navigation.params.screen.RecordTagSelectionParams
Expand Down

0 comments on commit 6860b1b

Please sign in to comment.