mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Mark username megaphone completion after hitting continue.
This commit is contained in:
committed by
Nicholas Tinsley
parent
93387ec79a
commit
fb07e897d0
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user