Skip to content

Develop #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Download and set up Android SDK
uses: android-actions/setup-android@v2
Expand All @@ -54,15 +54,15 @@ jobs:
run: |
echo "$KEYSTORE_BASE64" | base64 --decode > release.keystore

- name: Build Release AAB
- name: Build Release AAB (with Java 17)
run: |
./gradlew bundleRelease \
-Pandroid.injected.signing.store.file=release.keystore \
-Pandroid.injected.signing.store.password=$KEYSTORE_PASSWORD \
-Pandroid.injected.signing.key.alias=$SIGNING_KEY_ALIAS \
-Pandroid.injected.signing.key.password=$SIGNING_KEY_PASSWORD
env:
JAVA_HOME: ${{ runner.tool_cache }}/java/temurin-11-jdk
JAVA_HOME: ${{ runner.tool_cache }}/java/temurin-17-jdk
ANDROID_SDK_ROOT: ${{ runner.tool_cache }}/android-sdk

- name: Create GitHub Release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ class TokenStorageImpl @Inject constructor(

override suspend fun clearAuthToken() {
context.tokenDataStore.edit { prefs ->
prefs.remove(Keys.ACCESS_TOKEN)
prefs.remove(Keys.REFRESH_TOKEN)
prefs.remove(Keys.KEY_STATE)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class SettingViewModel @Inject constructor(
private val _authRequest = Channel<AuthorizationRequest>(Channel.BUFFERED)
val authRequest = _authRequest.receiveAsFlow()

private val _userInfo = MutableLiveData<UserInfo>(null)
val userInfo: LiveData<UserInfo>
private val _userInfo = MutableLiveData<UserInfo?>(null)
val userInfo: LiveData<UserInfo?>
get() = _userInfo

val isLogin: LiveData<Boolean> = _userInfo.map { it != null }
Expand Down
Loading