Skip to content

Commit ab634b8

Browse files
sblatzpocmo
authored andcommitted
Fixes mozilla-mobile#2341: Gives onCancelEditing default implementation
1 parent 9d398fb commit ab634b8

File tree

1 file changed

+1
-1
lines changed
  • components/concept/toolbar/src/main/java/mozilla/components/concept/toolbar

1 file changed

+1
-1
lines changed

components/concept/toolbar/src/main/java/mozilla/components/concept/toolbar/Toolbar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ interface Toolbar {
129129
/**
130130
* Fired when the user presses the back button while in edit mode.
131131
*/
132-
fun onCancelEditing(): Boolean
132+
fun onCancelEditing(): Boolean = true
133133

134134
/**
135135
* Fired when the toolbar switches back to display mode.

0 commit comments

Comments
 (0)