Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
♻️ :: 로그 삭제 및 버튼 활성화 로직 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmdhoon2 committed Dec 5, 2023
1 parent 262f7f6 commit 53641b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.signal.signal_android.feature.bug

import android.util.Log
import androidx.lifecycle.viewModelScope
import com.signal.domain.repository.ReportRepository
import com.signal.signal_android.BaseViewModel
Expand Down Expand Up @@ -31,7 +30,6 @@ internal class BugViewModel(
}

internal fun setImage(image: String){
Log.d("TEST", image)
setState(state.value.copy(image = image))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ internal fun ReportBug(
bugViewModel.setImage(image = attachmentState.imageUrl)
bugViewModel.reportBug()
},
enabled = state.content.isNotEmpty(),
)
}
}

0 comments on commit 53641b9

Please sign in to comment.