Mark username megaphone completion after hitting continue.

This commit is contained in:
Alex Hart
2023-02-02 15:48:25 -04:00
committed by Nicholas Tinsley
parent 93387ec79a
commit fb07e897d0
3 changed files with 7 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ package org.thoughtcrime.securesms.megaphone;
import android.app.Application;
import androidx.annotation.AnyThread;
import androidx.annotation.Discouraged;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.WorkerThread;
@@ -34,6 +35,7 @@ public class MegaphoneRepository {
private boolean enabled;
@Discouraged(message = "Instances of MegaphoneRepository should be accessed via ApplicationDependencies.")
public MegaphoneRepository(@NonNull Application context) {
this.context = context;
this.executor = SignalExecutors.SERIAL;