summaryrefslogtreecommitdiffstats
path: root/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-26 23:07:34 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-05-26 23:07:34 +0200
commitcf0230072c01ea9523f4d98a3656f5c975b3f347 (patch)
treeed24c6b90c6e319129e5fe963d50593846aaab72 /src/widget.rs
parent7f3b7075db68a215f4331b4bfba1c8ddd1c4d7f3 (diff)
downloadiced-cf0230072c01ea9523f4d98a3656f5c975b3f347.tar.gz
iced-cf0230072c01ea9523f4d98a3656f5c975b3f347.tar.bz2
iced-cf0230072c01ea9523f4d98a3656f5c975b3f347.zip
Rename `Variant` to `Style` and `Style` to `Appearance`
Diffstat (limited to '')
-rw-r--r--src/widget.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index e40ed108..51a498b0 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -30,7 +30,7 @@ pub mod button {
//! Allow your users to perform actions by pressing a button.
//!
//! A [`Button`] has some local [`State`].
- pub use iced_native::widget::button::{State, Style, StyleSheet};
+ pub use iced_native::widget::button::{Appearance, State, StyleSheet};
/// A widget that produces a message when clicked.
pub type Button<'a, Message, Theme = crate::Theme> =