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

Commit

Permalink
fix: don't request screen annotation permissions at first app run (cl…
Browse files Browse the repository at this point in the history
…oses #279)
  • Loading branch information
Bnyro authored Apr 4, 2024
1 parent eb34df1 commit c8e560f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class RecorderModel : ViewModel() {
fun hasScreenRecordingPermissions(context: Context): Boolean {
val overlayEnabled = Preferences.prefs.getBoolean(
Preferences.showOverlayAnnotationToolKey,
true
false
)
if (supportsOverlay && overlayEnabled && !Settings.canDrawOverlays(context)) {
val intent = Intent(
Expand Down

0 comments on commit c8e560f

Please sign in to comment.