Skip to content

Commit

Permalink
Fix crash. This is getting annoying.
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Oct 1, 2024
1 parent 77b6344 commit 74986a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mastodon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
applicationId "org.joinmastodon.android"
minSdk 23
targetSdk 34
versionCode 118
versionCode 119
versionName "2.7.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public void addAccount(Instance instance, Token token, Account self, Application
AccountSession session=new AccountSession(token, self, app, instance.getDomain(), activationInfo==null, activationInfo);
sessions.put(session.getID(), session);
lastActiveAccountID=session.getID();
prefs.edit().putString("lastActiveAccount", lastActiveAccountID).apply();
runOnDbThread(db->{
ContentValues values=new ContentValues();
session.toContentValues(values);
Expand Down

0 comments on commit 74986a1

Please sign in to comment.